my nixos/home-manager configuration
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

upgrade flake and fix missing dead key support

also migrated from deprecated keys

+50 -38
+27 -27
flake.lock
··· 23 23 ] 24 24 }, 25 25 "locked": { 26 - "lastModified": 1763651264, 27 - "narHash": "sha256-8vvwZbw0s7YvBMJeyPVpWke6lg6ROgtts5N2/SMCcv4=", 26 + "lastModified": 1764110879, 27 + "narHash": "sha256-xanUzIb0tf3kJ+PoOFmXEXV1jM3PjkDT/TQ5DYeNYRc=", 28 28 "owner": "nix-community", 29 29 "repo": "disko", 30 - "rev": "e86a89079587497174ccab6d0d142a65811a4fd9", 30 + "rev": "aecba248f9a7d68c5d1ed15de2d1c8a4c994a3c5", 31 31 "type": "github" 32 32 }, 33 33 "original": { ··· 78 78 "home-manager": { 79 79 "inputs": { 80 80 "nixpkgs": [ 81 - "nixpkgs-unstable" 81 + "nixpkgs" 82 82 ] 83 83 }, 84 84 "locked": { 85 - "lastModified": 1763416652, 86 - "narHash": "sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM=", 85 + "lastModified": 1764175465, 86 + "narHash": "sha256-4pXHk973Vx0On3E+x0EoIDGiwU9q0Zl85gQIL+SKJQc=", 87 87 "owner": "nix-community", 88 88 "repo": "home-manager", 89 - "rev": "ea164b7c9ccdc2321379c2ff78fd4317b4c41312", 89 + "rev": "cbe30a76895802b69b7a07104f09daac275fc0d1", 90 90 "type": "github" 91 91 }, 92 92 "original": { 93 93 "owner": "nix-community", 94 - "ref": "master", 94 + "ref": "release-25.11", 95 95 "repo": "home-manager", 96 96 "type": "github" 97 97 } ··· 119 119 }, 120 120 "nixos-hardware": { 121 121 "locked": { 122 - "lastModified": 1762847253, 123 - "narHash": "sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR+ZdLX8IbrU=", 122 + "lastModified": 1764080039, 123 + "narHash": "sha256-b1MtLQsQc4Ji1u08f+C6g5XrmLPkJQ1fhNkCt+0AERQ=", 124 124 "owner": "nixos", 125 125 "repo": "nixos-hardware", 126 - "rev": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9", 126 + "rev": "da17006633ca9cda369be82893ae36824a2ddf1a", 127 127 "type": "github" 128 128 }, 129 129 "original": { ··· 135 135 }, 136 136 "nixpkgs": { 137 137 "locked": { 138 - "lastModified": 1763622513, 139 - "narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=", 138 + "lastModified": 1764020296, 139 + "narHash": "sha256-6zddwDs2n+n01l+1TG6PlyokDdXzu/oBmEejcH5L5+A=", 140 140 "owner": "nixos", 141 141 "repo": "nixpkgs", 142 - "rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b", 142 + "rev": "a320ce8e6e2cc6b4397eef214d202a50a4583829", 143 143 "type": "github" 144 144 }, 145 145 "original": { 146 146 "owner": "nixos", 147 - "ref": "nixos-25.05", 147 + "ref": "nixos-25.11", 148 148 "repo": "nixpkgs", 149 149 "type": "github" 150 150 } ··· 183 183 }, 184 184 "nixpkgs-unstable": { 185 185 "locked": { 186 - "lastModified": 1763421233, 187 - "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", 186 + "lastModified": 1763966396, 187 + "narHash": "sha256-6eeL1YPcY1MV3DDStIDIdy/zZCDKgHdkCmsrLJFiZf0=", 188 188 "owner": "nixos", 189 189 "repo": "nixpkgs", 190 - "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", 190 + "rev": "5ae3b07d8d6527c42f17c876e404993199144b6a", 191 191 "type": "github" 192 192 }, 193 193 "original": { ··· 205 205 ] 206 206 }, 207 207 "locked": { 208 - "lastModified": 1763711173, 209 - "narHash": "sha256-kmzxiAF+7xz5R4ucaqUna3FHCDJTVGUHDi37tEXgRt4=", 208 + "lastModified": 1764175347, 209 + "narHash": "sha256-QqpvG2lA57/RhzOhkYPCvh35MMLjWY7+ZcquRnQLfHA=", 210 210 "owner": "nix-community", 211 211 "repo": "nur", 212 - "rev": "7217c1b6c18925a04033a406a44b81389ef60ea6", 212 + "rev": "e8797d4282fdc81c7692c824f5d1b770c3187309", 213 213 "type": "github" 214 214 }, 215 215 "original": { ··· 226 226 ] 227 227 }, 228 228 "locked": { 229 - "lastModified": 1761503988, 230 - "narHash": "sha256-MlMZXCTtPeXq/cDtJcL2XM8wCN33XOT9V2dB3PLV6f0=", 229 + "lastModified": 1764172006, 230 + "narHash": "sha256-89VihsuY1WWscerecKG+pe6WVPzFQ3ImYSqQDye78Cs=", 231 231 "owner": "brizzbuzz", 232 232 "repo": "opnix", 233 - "rev": "48fdb078b5a1cd0b20b501fccf6be2d1279d6fe6", 233 + "rev": "eaacde99a78ef4fb10ee1a68513a98532611c882", 234 234 "type": "github" 235 235 }, 236 236 "original": { ··· 277 277 ] 278 278 }, 279 279 "locked": { 280 - "lastModified": 1763663426, 281 - "narHash": "sha256-txr1cH5j+b14jYGvE0BQE/6OgSyHQqGoeeEFlJz7Q8o=", 280 + "lastModified": 1764166920, 281 + "narHash": "sha256-AEpt8JdKA4RVobRjaR7S2QP3bmUz8dhuWasB7mr9Ylo=", 282 282 "owner": "0xc000022070", 283 283 "repo": "zen-browser-flake", 284 - "rev": "34fd0de7cea96cab0307cf07aa5723b60fd775ef", 284 + "rev": "6f5d615393a5e923ea2883ef28e274031d1b1e1e", 285 285 "type": "github" 286 286 }, 287 287 "original": {
+4 -4
flake.nix
··· 1 1 { 2 2 inputs = { 3 - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.05"; 3 + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11"; 4 4 nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 5 5 nixpkgs-graalvm-ce-21.url = "github:nixos/nixpkgs?rev=ed4db9c6c75079ff3570a9e3eb6806c8f692dc26"; 6 6 nixpkgs-discord.url = "github:sehnryr/nixpkgs?rev=e475d5430b45d51f7c4d18126a2ad887f8c33616"; ··· 8 8 nixos-hardware.url = "github:nixos/nixos-hardware?ref=master"; 9 9 10 10 home-manager = { 11 - url = "github:nix-community/home-manager?ref=master"; 12 - inputs.nixpkgs.follows = "nixpkgs-unstable"; 11 + url = "github:nix-community/home-manager?ref=release-25.11"; 12 + inputs.nixpkgs.follows = "nixpkgs"; 13 13 }; 14 14 15 15 disko = { ··· 185 185 nixos-hardware.nixosModules.lenovo-thinkpad-t480s 186 186 ]; 187 187 }; 188 - # nix run home-manager/release-25.05 -- switch --flake .#<hostname> 188 + # nix run home-manager/release-25.11 -- switch --flake .#<hostname> 189 189 # home-manager switch --flake .#<hostname> 190 190 homeConfigurations = { 191 191 "${user.name}@desktop" = mkHomeManagerConfiguration [
+10 -2
nixos/common.nix
··· 48 48 LC_TIME = "en_US.UTF-8"; 49 49 }; 50 50 51 + # GTK 4.20 onwards removed compose keys and dead key handling. 52 + # We need to provide a proper input method for handling those. 53 + # https://github.com/ghostty-org/ghostty/discussions/8899#discussioncomment-14717979 54 + i18n.inputMethod = { 55 + enable = true; 56 + type = "ibus"; 57 + }; 58 + 51 59 # Enable the X11 windowing system. 52 60 services.xserver.enable = true; 53 61 54 62 # Enable the GNOME Desktop Environment. 55 - services.xserver.displayManager.gdm.enable = true; 56 - services.xserver.desktopManager.gnome.enable = true; 63 + services.displayManager.gdm.enable = true; 64 + services.desktopManager.gnome.enable = true; 57 65 58 66 services.xserver.excludePackages = with pkgs; [ xterm ]; 59 67
+9 -5
nixos/modules/logind.nix
··· 3 3 { 4 4 config = { 5 5 services.logind = { 6 - lidSwitch = "suspend"; 7 - lidSwitchDocked = "suspend"; 8 - lidSwitchExternalPower = "suspend"; 6 + settings = { 7 + Login = { 8 + HandleLidSwitch = "suspend"; 9 + HandleLidSwitchDocked = "suspend"; 10 + HandleLidSwitchExternalPower = "suspend"; 9 11 10 - powerKey = "suspend"; 11 - powerKeyLongPress = "poweroff"; 12 + HandlePowerKey = "suspend"; 13 + HandlePowerKeyLongPress = "poweroff"; 14 + }; 15 + }; 12 16 }; 13 17 }; 14 18 }