mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 20:33:59 +01:00
nix: Use hosts directory
This may be useful if I want to try NixOS on another host in the future.
This commit is contained in:
parent
5cd582cdac
commit
a0dae2344d
@ -20,7 +20,6 @@
|
|||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
nix-gaming.nixosModules.pipewireLowLatency
|
nix-gaming.nixosModules.pipewireLowLatency
|
||||||
./src/main.nix
|
./src/main.nix
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
VARIABLES = import ./variables.nix;
|
VARIABLES = import ./variables.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
"${VARIABLES.hostHardwareConfiguration}"
|
||||||
../modules
|
../modules
|
||||||
../containers/rar.nix
|
../containers/rar.nix
|
||||||
../containers/wine.nix
|
../containers/wine.nix
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
hostname = "nixos";
|
hostname = "nixos";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
timezone = "America/New_York";
|
timezone = "America/New_York";
|
||||||
|
hostHardwareConfiguration = ../hosts/laptop.nix;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user