Cleanup and minor changes

This commit is contained in:
k
2025-01-11 23:57:50 -05:00
parent 1197820789
commit 562839d47d
5 changed files with 41 additions and 77 deletions

View File

@@ -5,10 +5,9 @@
...
}: {
imports = [./hardware-configuration.nix ./service.nix];
powerManagement.enable = false;
powerManagement.enable = true;
system.autoUpgrade.enable = true;
networking.networkmanager.enable = true;
boot.kernelParams = ["intel_pstate=active"];
nix = {
gc.automatic = true;
@@ -21,10 +20,10 @@
nixpkgs.config.allowUnfree = true;
programs = {
nix-ld.enable = true;
nix-ld.libraries = with pkgs; [glibc glib];
zsh.enable = true;
neovim.enable = true;
};
users = {
motd = "Welcome to the Server";
defaultUserShell = pkgs.zsh;
@@ -56,17 +55,12 @@
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-compute-runtime
intel-vaapi-driver
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
vpl-gpu-rt
intel-compute-runtime
];
};
services.xserver.videoDrivers = ["intel"];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave