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";
|
||||
};
|
||||
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 {
|
||||
hostname = "de-lacadie";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
${hostname} = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./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;
|
||||
|
||||
# Enable nvidia drivers and graphics.
|
||||
hardware.graphics = {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
|
|
|
|||
Loading…
Reference in a new issue