update for AI stuff and new nix syntax
This commit is contained in:
parent
a770f582dd
commit
4712934003
8 changed files with 152 additions and 136 deletions
|
@ -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";
|
||||
|
|
|
@ -70,8 +70,11 @@
|
|||
docker = {
|
||||
enable = true;
|
||||
enableNvidia = true;
|
||||
enableOnBoot = true;
|
||||
extraOptions = "--add-runtime nvidia=/run/current-system/sw/bin/nvidia-container-runtime";
|
||||
};
|
||||
};
|
||||
systemd.enableUnifiedCgroupHierarchy = false; # libnvidia-container doesn't support cgroups v2
|
||||
|
||||
services.minidlna = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue