1
0
forked from extern/nix-config

meta: Use default.nix

Makes things simpler.
This commit is contained in:
Donovan Glover 2023-06-22 05:36:07 -04:00
parent 7fb0c15255
commit 0fd8411d36
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 23 additions and 9 deletions

15
default.nix Normal file
View 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
];
}

View File

@ -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
./.
];
};
};

View File

@ -0,0 +1,6 @@
{
imports = [
./gnome.nix
./plasma.nix
];
}

View File

@ -8,10 +8,6 @@
let VARIABLES = import ./variables.nix; in {
imports = [
"${VARIABLES.hostHardwareConfiguration}"
../overlays
../modules
../home
../containers
];
hardware.opengl.driSupport32Bit = true;