From 0563316200f9ee1628e6092dccec59d32414df55 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 30 Aug 2024 14:37:51 -0700 Subject: [PATCH] refactor: remove unused system attr --- flake.nix | 13 +++---------- hosts/demeter/default.nix | 5 +---- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index 4173060..2eca1e2 100755 --- a/flake.nix +++ b/flake.nix @@ -86,27 +86,20 @@ nixosConfigurations = { demeter = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - specialArgs = { - inherit inputs; - }; + specialArgs = {inherit inputs;}; modules = [ ./hosts/demeter ]; }; callisto = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - }; + specialArgs = {inherit inputs;}; modules = [ ./hosts/callisto ]; }; adrastea = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - }; + specialArgs = {inherit inputs;}; modules = [ ./hosts/adrastea ]; diff --git a/hosts/demeter/default.nix b/hosts/demeter/default.nix index 69f2b56..c90be99 100644 --- a/hosts/demeter/default.nix +++ b/hosts/demeter/default.nix @@ -23,10 +23,7 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.backupFileExtension = "backup"; - home-manager.extraSpecialArgs = { - inherit inputs; - inherit system; - }; + home-manager.extraSpecialArgs = {inherit inputs;}; home-manager.users.youwen = { imports = [ ../../users/youwen/linux/desktop