update for AI stuff and new nix syntax

This commit is contained in:
atagen 2024-04-30 02:38:36 +10:00
parent a770f582dd
commit 4712934003
8 changed files with 152 additions and 136 deletions

View file

@ -78,27 +78,29 @@
#input stuff
services.xserver = {
enable = true; # SDDM requires this
xkb.options = "caps:escape";
xkb.layout = "us";
libinput.enable = true;
# services.xserver = {
# enable = true; # SDDM requires this
# xkb.options = "caps:escape";
# xkb.layout = "us";
desktopManager.plasma5 = {
enable = true;
# enableQt5Integration = true; # for plasma6
runUsingSystemd = true;
};
};
# desktopManager.plasma5 = {
# enable = true;
# enableQt5Integration = true; # for plasma6
# runUsingSystemd = true;
# };
# };
services.libinput.enable = true;
services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true;
services.udisks2.enable = true;
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
konsole
gwenview
];
services.system76-scheduler.enable = true;
# environment.plasma5.excludePackages = with pkgs.libsForQt5; [
# konsole
# gwenview
# ];
services.flatpak.enable = true;
@ -175,9 +177,9 @@
package = pkgs.nix-ld-rs;
};
# networking.firewall = {
# checkReversePath = "loose";
# };
networking.firewall = {
checkReversePath = "loose";
};
# give cpuset to user
systemd.services."user@".serviceConfig.Delegate = "memory pids cpu cpuset";