From 97e58be52e5fa80e3e3b2c859d24baf88d861f92 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sat, 7 Sep 2024 23:28:08 +0200 Subject: [PATCH] remove arguments from default.nix that just import --- home/common/default.nix | 3 +-- home/common/programs/default.nix | 3 +-- home/common/programs/nixvim/default.nix | 4 +--- home/common/shell/default.nix | 3 +-- home/desktop/default.nix | 3 +-- home/laptop/default.nix | 3 +-- hosts/common/default.nix | 2 +- hosts/common/system/default.nix | 3 ++- 8 files changed, 9 insertions(+), 15 deletions(-) diff --git a/home/common/default.nix b/home/common/default.nix index 2553c7a..54b2a99 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ./core.nix diff --git a/home/common/programs/default.nix b/home/common/programs/default.nix index b583edc..43c968b 100644 --- a/home/common/programs/default.nix +++ b/home/common/programs/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ./git.nix diff --git a/home/common/programs/nixvim/default.nix b/home/common/programs/nixvim/default.nix index 29b554f..243fd4d 100644 --- a/home/common/programs/nixvim/default.nix +++ b/home/common/programs/nixvim/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ./core.nix @@ -16,5 +15,4 @@ ./plugins/telescope.nix ./plugins/misc.nix ]; - } diff --git a/home/common/shell/default.nix b/home/common/shell/default.nix index 173c42c..d407001 100644 --- a/home/common/shell/default.nix +++ b/home/common/shell/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ./fish.nix diff --git a/home/desktop/default.nix b/home/desktop/default.nix index b688699..b286b8b 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ../common diff --git a/home/laptop/default.nix b/home/laptop/default.nix index abe71e0..ba12cd3 100644 --- a/home/laptop/default.nix +++ b/home/laptop/default.nix @@ -1,5 +1,4 @@ -{ ... }: - +_: { imports = [ ../common diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 9226ba3..1879aba 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { imports = [ ./system diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix index bcff6a5..627ce0b 100644 --- a/hosts/common/system/default.nix +++ b/hosts/common/system/default.nix @@ -1,4 +1,5 @@ -{ ... }: { +_: +{ imports = [ ./core.nix