Separated some settings

This commit is contained in:
Aleksandr Lebedev 2024-11-20 20:33:42 +01:00
parent 24a3ba6f99
commit 2147766e07
6 changed files with 148 additions and 57 deletions

View file

@ -20,27 +20,28 @@
};
outputs = { self, nixpkgs, stylix, nix-flatpak, ... }@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
let
#system = "x86_64-linux";
#pkgs = import nixpkgs {
# inherit system;
# config = {
# allowUnfree = true;
# };
#};
in
{
nixosConfigurations = {
homepc = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; inherit inputs; };
specialArgs = { hostname = "nixosbtw"; system = "x86_64-linux"; inherit inputs; };
modules = [
#nur.nixosModules.nur
./nixos/configuration.nix
./nixos/nvidia.nix
./nixos/homepc-hardware-conf.nix
inputs.home-manager.nixosModules.default
stylix.nixosModules.stylix
nix-flatpak.nixosModules.default
#nix-flatpak.nixosModules.default
];
};
};