remove unused options and change systems

This commit is contained in:
Callum Leslie 2024-09-05 10:07:57 +01:00
parent 3c48de49f6
commit eeabf1f408
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
2 changed files with 8 additions and 11 deletions

10
flake.lock generated
View file

@ -1069,16 +1069,16 @@
}, },
"systems_4": { "systems_4": {
"locked": { "locked": {
"lastModified": 1680978846, "lastModified": 1681028828,
"narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "x86_64-linux", "repo": "default",
"rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "x86_64-linux", "repo": "default",
"type": "github" "type": "github"
} }
}, },

View file

@ -61,9 +61,9 @@
}; };
flake-compat.url = "github:edolstra/flake-compat"; flake-compat.url = "github:edolstra/flake-compat";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
# systems.url = "github:nix-systems/default"; systems.url = "github:nix-systems/default";
# systems.url = "github:nix-systems/default-linux"; #systems.url = "github:nix-systems/default-linux";
systems.url = "github:nix-systems/x86_64-linux"; #systems.url = "github:nix-systems/x86_64-linux";
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
}; };
@ -77,10 +77,7 @@
home-manager, home-manager,
... ...
} @ inputs: let } @ inputs: let
inherit (utils.lib) mkApp;
mods = import ./modules {inherit utils;}; mods = import ./modules {inherit utils;};
#_nixosConfigurations = import ./hosts {inherit inputs utils mods self;};
overlay = import ./overlays {inherit inputs;};
mkLinuxSystem = mod: mkLinuxSystem = mod:
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};