Compare commits
No commits in common. "a2b2057bb1ea4a36cbfb90a93e54bb3e605b39a4" and "bde883ccf6f1f08061942fd088c3709db5a663f5" have entirely different histories.
a2b2057bb1
...
bde883ccf6
25
flake.nix
25
flake.nix
|
|
@ -20,21 +20,13 @@
|
||||||
|
|
||||||
# nur.url = "github:nix-community/NUR";
|
# nur.url = "github:nix-community/NUR";
|
||||||
};
|
};
|
||||||
outputs =
|
outputs = { self, nixpkgs, home-manager }:
|
||||||
{
|
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
home-manager,
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in
|
hostname = "de-lacadie";
|
||||||
{
|
in {
|
||||||
nixosConfigurations =
|
nixosConfigurations = {
|
||||||
let
|
${hostname} = nixpkgs.lib.nixosSystem {
|
||||||
hostnameToConfig = hostname: {
|
|
||||||
name = hostname;
|
|
||||||
value = nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/${hostname}/configuration.nix
|
./hosts/${hostname}/configuration.nix
|
||||||
|
|
@ -43,12 +35,5 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
|
||||||
builtins.listToAttrs (
|
|
||||||
builtins.map hostnameToConfig [
|
|
||||||
"randolph"
|
|
||||||
"de-lacadie"
|
|
||||||
]
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,9 +70,10 @@
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
# Enable nvidia drivers and graphics.
|
# Enable nvidia drivers and graphics.
|
||||||
hardware.graphics = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
driSupport = true;
|
||||||
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Load nvidia driver for Xorg and Wayland
|
# Load nvidia driver for Xorg and Wayland
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue