Compare commits

...

2 commits

Author SHA1 Message Date
vorboyvo a2b2057bb1 Changed graphics settings as per errors/warnings. 2024-07-11 12:44:01 -04:00
vorboyvo 08f9837fe1 Fixed the flake to not need branches. 2024-07-11 12:43:40 -04:00
2 changed files with 30 additions and 16 deletions

View file

@ -20,20 +20,35 @@
# nur.url = "github:nix-community/NUR"; # nur.url = "github:nix-community/NUR";
}; };
outputs = { self, nixpkgs, home-manager }: outputs =
{
self,
nixpkgs,
home-manager,
}:
let let
system = "x86_64-linux"; system = "x86_64-linux";
hostname = "de-lacadie"; in
in { {
nixosConfigurations = { nixosConfigurations =
${hostname} = nixpkgs.lib.nixosSystem { let
inherit system; hostnameToConfig = hostname: {
modules = [ name = hostname;
./hosts/${hostname}/configuration.nix value = nixpkgs.lib.nixosSystem {
home-manager.nixosModules.home-manager inherit system;
# nur.nixosModules.nur modules = [
]; ./hosts/${hostname}/configuration.nix
}; home-manager.nixosModules.home-manager
}; # nur.nixosModules.nur
];
};
};
in
builtins.listToAttrs (
builtins.map hostnameToConfig [
"randolph"
"de-lacadie"
]
);
}; };
} }

View file

@ -70,10 +70,9 @@
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
# Enable nvidia drivers and graphics. # Enable nvidia drivers and graphics.
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
driSupport = true; enable32Bit = true;
driSupport32Bit = true;
}; };
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland