Commit 2437c4cefaaf

Vincent Demeester <vincent@sbr.pm>
2018-12-21 15:58:29
.: nix-linter ๐Ÿšˆ
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 0a15ee1
machines/base.nix
@@ -1,8 +1,6 @@
-{ pkgs, prefix, ...}:
+{ pkgs, ...}:
 
-let home_directory = builtins.getEnv "HOME"; in
-
-rec {
+{
   imports = [ ../modules/module-list.nix ];
   programs = {
     home-manager = {
machines/carthage.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
 {
   imports = [ ./base.nix ];
   profiles.containers = {
machines/hokkaido.nix
@@ -1,5 +1,3 @@
-{ pkgs, ... }:
-
 {
   imports = [
     ./base.nix
machines/honshu.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
 {
   imports = [
     ./base.nix
machines/kobe.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
 {
   imports = [
     ./base.nix
machines/massimo.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
 {
   imports = [
     ./base.nix
machines/phantom.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ...}:
-
 {
   imports = [
     ./base.nix
machines/remote-dev.nix
@@ -1,5 +1,3 @@
-{...}:
-
 {
   imports = [
     ./base.nix
machines/wakasu.nix
@@ -1,4 +1,4 @@
-{ pkgs, prefix, ...}:
+{ pkgs, ...}:
 
 {
   imports = [
modules/profiles/bash.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
 
 with lib;
 let
modules/profiles/laptop.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
 
 with lib;
 let
modules/profiles/ssh.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
 
 with lib;
 let
@@ -24,7 +24,7 @@ in
       userKnownHostsFile = "~/.config/ssh/known_hosts";
       controlPath = "~/.ssh/sockets/%u-%l-%r@%h:%p";
     
-      matchBlocks = rec {
+      matchBlocks = {
         "github.com" = {
           hostname = "github.com";
           user = "git";
modules/profiles/zsh.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
 
 with lib;
 let
modules/module-list.nix
@@ -1,5 +1,3 @@
-{ pkgs, lib, ... }:
-
 {
   imports = [
     ./profiles/bash.nix