commit 2437c4cefaaf1e429327d5bda4613b0beed50c85
parent 0a15ee125cc27868a88e7848cea1ce4f635aaa2f
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 21 Dec 2018 15:58:29 +0100
.: nix-linter 🚈
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
14 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/machines/base.nix b/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 = {
diff --git a/machines/carthage.nix b/machines/carthage.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
{
imports = [ ./base.nix ];
profiles.containers = {
diff --git a/machines/hokkaido.nix b/machines/hokkaido.nix
@@ -1,5 +1,3 @@
-{ pkgs, ... }:
-
{
imports = [
./base.nix
diff --git a/machines/honshu.nix b/machines/honshu.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
{
imports = [
./base.nix
diff --git a/machines/kobe.nix b/machines/kobe.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
{
imports = [
./base.nix
diff --git a/machines/massimo.nix b/machines/massimo.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ... }:
-
{
imports = [
./base.nix
diff --git a/machines/phantom.nix b/machines/phantom.nix
@@ -1,5 +1,3 @@
-{ pkgs, prefix, ...}:
-
{
imports = [
./base.nix
diff --git a/machines/remote-dev.nix b/machines/remote-dev.nix
@@ -1,5 +1,3 @@
-{...}:
-
{
imports = [
./base.nix
diff --git a/machines/wakasu.nix b/machines/wakasu.nix
@@ -1,4 +1,4 @@
-{ pkgs, prefix, ...}:
+{ pkgs, ...}:
{
imports = [
diff --git a/modules/module-list.nix b/modules/module-list.nix
@@ -1,5 +1,3 @@
-{ pkgs, lib, ... }:
-
{
imports = [
./profiles/bash.nix
diff --git a/modules/profiles/bash.nix b/modules/profiles/bash.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
with lib;
let
diff --git a/modules/profiles/laptop.nix b/modules/profiles/laptop.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
with lib;
let
diff --git a/modules/profiles/ssh.nix b/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";
diff --git a/modules/profiles/zsh.nix b/modules/profiles/zsh.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, lib, ... }:
with lib;
let