NixOS 25.11

This commit is contained in:
KoenDR06 2025-11-29 22:35:40 +01:00
parent 8ae4006208
commit c264999fb4
9 changed files with 36 additions and 28 deletions

View file

@ -275,13 +275,13 @@ in {
allow_session_lock_restore = ${boolToString hypr.misc.allowSessionLockRestore} allow_session_lock_restore = ${boolToString hypr.misc.allowSessionLockRestore}
background_color = ${toString hypr.misc.backgroundColor} background_color = ${toString hypr.misc.backgroundColor}
close_special_on_empty = ${boolToString hypr.misc.closeSpecialOnEmpty} close_special_on_empty = ${boolToString hypr.misc.closeSpecialOnEmpty}
#on_focus_under_fullscreen = ${toString hypr.misc.onFocusUnderFullscreen} new_window_takes_over_fullscreen = ${toString hypr.misc.newWindowTakesOverFullscreen}
exit_window_retains_fullscreen = ${boolToString hypr.misc.exitWindowRetainsFullscreen} exit_window_retains_fullscreen = ${boolToString hypr.misc.exitWindowRetainsFullscreen}
initial_workspace_tracking = ${toString hypr.misc.initialWorkspaceTracking} initial_workspace_tracking = ${toString hypr.misc.initialWorkspaceTracking}
middle_click_paste = ${boolToString hypr.misc.middleClickPaste} middle_click_paste = ${boolToString hypr.misc.middleClickPaste}
render_unfocused_fps = ${toString hypr.misc.renderUnfocusedFps} render_unfocused_fps = ${toString hypr.misc.renderUnfocusedFps}
disable_xdg_env_checks = ${boolToString hypr.misc.disableXdgEnvChecks} disable_xdg_env_checks = ${boolToString hypr.misc.disableXdgEnvChecks}
disable_hyprland_qtutils_check = ${boolToString hypr.misc.disableHyprlandQtutilsCheck} disable_hyprland_guiutils_check = ${boolToString hypr.misc.disableHyprlandGuiUtilsCheck}
lockdead_screen_delay = ${toString hypr.misc.lockdeadScreenDelay} lockdead_screen_delay = ${toString hypr.misc.lockdeadScreenDelay}
enable_anr_dialog = ${boolToString hypr.misc.enableAnrDialog} enable_anr_dialog = ${boolToString hypr.misc.enableAnrDialog}
anr_missed_pings = ${toString hypr.misc.anrMissedPings} anr_missed_pings = ${toString hypr.misc.anrMissedPings}

16
flake.lock generated
View file

@ -73,32 +73,32 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758463745, "lastModified": 1764398914,
"narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", "narHash": "sha256-YPrpwlVQidzQlMh0OnquaJR+58rKe9YNnuRis293Ilo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", "rev": "d0c5fdc48db6f19471b8adc954eca09194e68036",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.05", "ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1763334038, "lastModified": 1764406085,
"narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=", "narHash": "sha256-CYbMp8hwuOf4umokSNp+t1s4Hjd4vxXq4S5CD+xvgNs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c", "rev": "9561691c9f450fad7c3526916e1c4f44be0d1192",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,9 +1,9 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.05"; url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -1,7 +1,7 @@
{lib, ...}: let {lib, ...}: let
inherit (lib) mkOption types; inherit (lib) mkOption types;
# v0.52.0 # v0.52.1
vec2 = types.submodule { vec2 = types.submodule {
options = { options = {
x = mkOption {type = types.int;}; x = mkOption {type = types.int;};
@ -1064,7 +1064,7 @@ in {
type = types.bool; type = types.bool;
default = true; default = true;
}; };
onFocusUnderFullscreen = mkOption { newWindowTakesOverFullscreen = mkOption {
description = "if there is a fullscreen or maximized window, decide whether a tiled window requested to focus should replace it, stay behind or disable the fullscreen/maximized state. 0 - ignore focus request (keep focus on fullscreen window), 1 - takes over, 2 - unfullscreen/unmaximize [0/1/2]"; description = "if there is a fullscreen or maximized window, decide whether a tiled window requested to focus should replace it, stay behind or disable the fullscreen/maximized state. 0 - ignore focus request (keep focus on fullscreen window), 1 - takes over, 2 - unfullscreen/unmaximize [0/1/2]";
type = types.ints.between 0 2; type = types.ints.between 0 2;
default = 2; default = 2;
@ -1094,7 +1094,7 @@ in {
type = types.bool; type = types.bool;
default = false; default = false;
}; };
disableHyprlandQtutilsCheck = mkOption { disableHyprlandGuiUtilsCheck = mkOption {
description = "disable the warning if hyprland-qtutils is not installed"; description = "disable the warning if hyprland-qtutils is not installed";
type = types.bool; type = types.bool;
default = false; default = false;

View file

@ -27,7 +27,7 @@ in {
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bitwarden bitwarden-desktop
blender blender
gnome-calculator gnome-calculator
inkscape inkscape

View file

@ -17,7 +17,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
greetd.tuigreet tuigreet
]; ];
services.greetd = { services.greetd = {
@ -25,7 +25,7 @@ in {
settings = { settings = {
default_session = { default_session = {
user = homeCfg.username; user = homeCfg.username;
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --greeting 'Please authenticate to continue' --asterisks --asterisks-char '*' --theme 'border=74;text=cyan;prompt=green;time=cyan;action=cyan;button=cyan;container=black;input=238' --cmd ${cfg.session}"; command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --remember-session --greeting 'Please authenticate to continue' --asterisks --asterisks-char '*' --theme 'border=74;text=cyan;prompt=green;time=cyan;action=cyan;button=cyan;container=black;input=238' --cmd ${cfg.session}";
}; };
}; };
}; };

View file

@ -57,7 +57,13 @@ in {
id = "programmingFolder"; id = "programmingFolder";
path = "/home/${username}/Programming"; path = "/home/${username}/Programming";
devices = ["artemis" "terra" "solis"]; devices = ["artemis" "terra" "solis"];
# TODO 25.11 add ignore ignorePatterns = [
"node_modules"
".venv"
"venv"
"dist-newstyle"
"constipated-koala/storage"
];
}; };
}; };
}; };

View file

@ -31,15 +31,17 @@ in {
gh.enable = true; gh.enable = true;
git = { git = {
extraConfig = { enable = true;
settings = {
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };
};
enable = true; user = {
userName = "KoenDR06"; name = "KoenDR06";
userEmail = "koen.de.ruiter@hotmail.com"; email = "koen.de.ruiter@hotmail.com";
};
};
}; };
}; };
}; };

View file

@ -116,7 +116,7 @@ in {
misc = { misc = {
forceDefaultWallpaper = 0; forceDefaultWallpaper = 0;
keyPressEnablesDPMS = true; keyPressEnablesDPMS = true;
onFocusUnderFullscreen = 2; newWindowTakesOverFullscreen = 2;
enableSwallow = true; enableSwallow = true;
swallowRegex = "^kitty$"; swallowRegex = "^kitty$";
@ -183,8 +183,8 @@ in {
}; };
}; };
services.logind.extraConfig = '' services.logind.settings.Login = {
HandlePowerKey=ignore HandlePowerKey = "ignore";
''; };
}; };
} }