forked from extern/nix-config
flake.nix: Remove variables
This configuration is specifically intended for x86_64-linux and likely wouldn't work on aarch64-linux. Additionally, the configuration name may be different than the hostname if desired.
This commit is contained in:
parent
3a6cd7e60d
commit
0c0d455a6a
10
flake.nix
10
flake.nix
@ -22,13 +22,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in {
|
||||
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
||||
system = VARIABLES.system;
|
||||
outputs = { self, nixpkgs, ... } @ attrs: {
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
./.
|
||||
];
|
||||
modules = [ ./. ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user