desktop: improve hardware config and enable systemd-networkd
This commit is contained in:
parent
09e64daa5f
commit
9d646c8c38
2 changed files with 6 additions and 1 deletions
|
|
@ -34,7 +34,10 @@
|
|||
swapDevices =
|
||||
[{ device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; }];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
nix.settings.max-jobs = lib.mkDefault 16;
|
||||
networking.useNetworkd = true;
|
||||
networking.interfaces.enp31s0.useDHCP = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
|
|
@ -48,4 +51,7 @@
|
|||
rocm-opencl-runtime
|
||||
];
|
||||
};
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||
|
||||
console = {
|
||||
font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
||||
keyMap = lib.mkDefault "fr";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue