Compare commits
3 commits
206cd46cfc
...
6fb7626f14
Author | SHA1 | Date | |
---|---|---|---|
6fb7626f14 | |||
0aa4a160d7 | |||
5c89c01e47 |
2 changed files with 76 additions and 66 deletions
|
@ -146,7 +146,7 @@
|
|||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_6_10;
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
|
@ -163,7 +163,6 @@
|
|||
"apple-mfi-fastcharge"
|
||||
"zenpower"
|
||||
];
|
||||
kernelParams = [ "nvidia_drm.fbdev=1" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
zenpower
|
||||
cpupower
|
||||
|
@ -261,7 +260,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
systemd = {
|
||||
network = {
|
||||
enable = true;
|
||||
|
||||
# wait-online.extraArgs = [ "--interface=enp4s0" ];
|
||||
|
@ -335,6 +335,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
ollama = {
|
||||
after = [ "tailscaled.service" ];
|
||||
preStart = "${pkgs.coreutils}/bin/sleep 10"; # Tailscale reports ready before getting an IP address
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# programs.ssh.startAgent = true;
|
||||
programs = {
|
||||
sway = {
|
||||
|
@ -476,6 +484,8 @@
|
|||
|
||||
sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ in
|
|||
};
|
||||
};
|
||||
services = {
|
||||
kanshi.enable = true;
|
||||
kanshi.enable = false;
|
||||
xbanish.enable = false;
|
||||
wayvnc = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue