Compare commits

..

No commits in common. "a2b2057bb1ea4a36cbfb90a93e54bb3e605b39a4" and "bde883ccf6f1f08061942fd088c3709db5a663f5" have entirely different histories.

2 changed files with 16 additions and 30 deletions

View file

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

View file

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