cleaned up configuration.nix

This commit is contained in:
Gabriella Bere 2024-12-27 09:32:46 +00:00
parent d75e7f0a98
commit 904e0e66d6

View file

@ -38,16 +38,6 @@
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
}; };
# default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen;
# I was told that adding these helps but it doesnt seemt to work as monitors are still buggy at 144hz, may as well keep them
boot.kernelParams = [
"video=DP-2:1920x1080@144"
"video=DP-3:1920x1080@144"
"video=eDP-2:2560x1200@165"
];
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
boot.kernelModules = [ "v4l2loopback" ]; boot.kernelModules = [ "v4l2loopback" ];
@ -84,10 +74,6 @@
LC_TIME = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8";
}; };
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
# services.xserver.enable = true;
# Enable PPD to improve battery life maybe # Enable PPD to improve battery life maybe
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
@ -103,7 +89,6 @@
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.) # Enable the Hyprland WM functionality for NixOS (xdg portals etc.)
programs.hyprland.enable = true; programs.hyprland.enable = true;
# programs.waybar.enable = true;
# Enable fwupd for BIOS updates # Enable fwupd for BIOS updates
services.fwupd.enable = true; services.fwupd.enable = true;
@ -172,13 +157,6 @@
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
# home-manager = {
# extraSpecialArgs = { inherit inputs; };
# users = {
# "blue" = import ../../home-manager/home.nix;
# };
# };
# Enable fingerprint daemon # Enable fingerprint daemon
services.fprintd.enable = true; services.fprintd.enable = true;
# services.fprintd.tod.enable = true; # services.fprintd.tod.enable = true;
@ -255,15 +233,6 @@
to = 60000; to = 60000;
} }
]; ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# 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
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
system.stateVersion = "24.05";
} }