aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-11-30 14:51:58 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-11-30 14:51:58 +0200
commitdf79d8fd48fcaa92dcfec6dde15a7a61bc3f6b3f (patch)
treeaf84ae1c920e8f06eaa2c2ff2f772ccb3d56e148 /roles
parent2be5276c7e365593478f2de261c6b8acf6637cde (diff)
downloadnixos-df79d8fd48fcaa92dcfec6dde15a7a61bc3f6b3f.tar.zst
Update to nixos 25.11
Diffstat (limited to 'roles')
-rw-r--r--roles/shared.nix45
1 files changed, 24 insertions, 21 deletions
diff --git a/roles/shared.nix b/roles/shared.nix
index b156d6c..2eddf0f 100644
--- a/roles/shared.nix
+++ b/roles/shared.nix
@@ -59,17 +59,17 @@
keep-derivations = true
'';
};
- system.switch = {
- enable = false;
- enableNg = true;
- };
-
- system.activationScripts.diff = {
- supportsDryActivation = true;
- text = ''
- ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \
- /run/current-system "$systemConfig"
- '';
+ system = {
+ switch = {
+ enable = true;
+ };
+ activationScripts.diff = {
+ supportsDryActivation = true;
+ text = ''
+ ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \
+ /run/current-system "$systemConfig"
+ '';
+ };
};
zramSwap = {
@@ -183,10 +183,10 @@
services = {
"systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug";
};
- extraConfig = ''
- DefaultTimeoutStopSec=10
- DefaultLimitNOFILE=2048
- '';
+ settings.Manager = {
+ DefaultTimeoutStopSec = 10;
+ DefaultLimitNOFILE = 2048;
+ };
# watchdog = {
# device = "/dev/watchdog";
# runtimeTime = "30s";
@@ -298,17 +298,17 @@
alsa-utils
blis
bluez
- bluez-tools
bluez-alsa
+ bluez-tools
glfw
glm
- glxinfo
gotop
libva
libva-utils
+ mesa-demos
nixfmt-rfc-style
- shaderc.static
shaderc.dev
+ shaderc.static
vulkan-headers
vulkan-loader
vulkan-tools
@@ -323,6 +323,10 @@
};
environment = {
+ pathsToLink = [
+ "/share/xdg-desktop-portal"
+ "/share/applications"
+ ];
systemPackages = with pkgs; [
agenix.packages.${system}.default
clinfo
@@ -331,7 +335,7 @@
git
gnumake
gnupg
- greetd.tuigreet
+ tuigreet
linux-firmware
lm_sensors
mimalloc
@@ -736,7 +740,6 @@
};
greetd = {
enable = true;
- vt = 1;
restart = true;
settings = {
initial_session = {
@@ -744,7 +747,7 @@
user = "${vars.user}";
};
default_session = {
- command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd /etc/greetd/hyprland-wrapper.sh";
+ command = "${pkgs.tuigreet}/bin/tuigreet --cmd /etc/greetd/hyprland-wrapper.sh";
};
};
};