forked from extern/nix-config
meta: Use default.nix
Makes things simpler.
This commit is contained in:
parent
7fb0c15255
commit
0fd8411d36
15
default.nix
Normal file
15
default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ home-manager, stylix, nix-gaming, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
home-manager.nixosModules.home-manager
|
||||
stylix.nixosModules.stylix
|
||||
nix-gaming.nixosModules.pipewireLowLatency
|
||||
./containers
|
||||
./home
|
||||
./modules
|
||||
./overlays
|
||||
./specializations
|
||||
./src/main.nix
|
||||
];
|
||||
}
|
@ -22,15 +22,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, stylix, nix-gaming, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in {
|
||||
outputs = { self, nixpkgs, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in {
|
||||
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
||||
system = VARIABLES.system;
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
stylix.nixosModules.stylix
|
||||
nix-gaming.nixosModules.pipewireLowLatency
|
||||
./src/main.nix
|
||||
./.
|
||||
];
|
||||
};
|
||||
};
|
||||
|
6
specializations/default.nix
Normal file
6
specializations/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./gnome.nix
|
||||
./plasma.nix
|
||||
];
|
||||
}
|
@ -8,10 +8,6 @@
|
||||
let VARIABLES = import ./variables.nix; in {
|
||||
imports = [
|
||||
"${VARIABLES.hostHardwareConfiguration}"
|
||||
../overlays
|
||||
../modules
|
||||
../home
|
||||
../containers
|
||||
];
|
||||
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
Loading…
Reference in New Issue
Block a user