diff options
author | Minijackson <minijackson@riseup.net> | 2024-06-07 10:28:58 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2024-06-07 10:28:58 +0200 |
commit | 28f90bdb63f824917c9aaff22e23a32f0aae1be4 (patch) | |
tree | 0ce2710c98565d8d8fa74925789d51f71490e2a6 | |
parent | c6cfa4e946d1b08364e64a2ef80bd579a61cef5e (diff) | |
download | nixos-config-reborn-28f90bdb63f824917c9aaff22e23a32f0aae1be4.tar.gz nixos-config-reborn-28f90bdb63f824917c9aaff22e23a32f0aae1be4.zip |
flake: upgrade NixOS 23.11 -> 24.05
-rw-r--r-- | common/commandline.nix | 11 | ||||
-rw-r--r-- | flake.lock | 16 | ||||
-rw-r--r-- | flake.nix | 12 | ||||
-rw-r--r-- | templates/desktop/flake.nix | 8 | ||||
-rw-r--r-- | usecases/desktop/graphical.nix | 2 |
5 files changed, 25 insertions, 24 deletions
diff --git a/common/commandline.nix b/common/commandline.nix index 7a490c0..c779fdd 100644 --- a/common/commandline.nix +++ b/common/commandline.nix | |||
@@ -4,10 +4,11 @@ inputs: { | |||
4 | lib, | 4 | lib, |
5 | ... | 5 | ... |
6 | }: | 6 | }: |
7 | with inputs.self.lib.theme; let | 7 | let |
8 | dominantEscapeCode = fgEscapeCode config.theme.colors.dominant; | 8 | inherit (inputs.self.lib) theme; |
9 | bgDominantEscapeCode = bgEscapeCode config.theme.colors.dominant; | 9 | dominantEscapeCode = theme.fgEscapeCode config.theme.colors.dominant; |
10 | backgroundEscapeCode = fgEscapeCode config.theme.colors.background; | 10 | bgDominantEscapeCode = theme.bgEscapeCode config.theme.colors.dominant; |
11 | backgroundEscapeCode = theme.fgEscapeCode config.theme.colors.background; | ||
11 | in { | 12 | in { |
12 | imports = [ | 13 | imports = [ |
13 | (import ./commandline/dircolors.nix inputs) | 14 | (import ./commandline/dircolors.nix inputs) |
@@ -131,7 +132,7 @@ in { | |||
131 | 132 | ||
132 | programs.eza = { | 133 | programs.eza = { |
133 | enable = true; | 134 | enable = true; |
134 | enableAliases = true; | 135 | enableZshIntegration = true; |
135 | }; | 136 | }; |
136 | 137 | ||
137 | home.sessionVariables = { | 138 | home.sessionVariables = { |
@@ -180,16 +180,16 @@ | |||
180 | ] | 180 | ] |
181 | }, | 181 | }, |
182 | "locked": { | 182 | "locked": { |
183 | "lastModified": 1716729592, | 183 | "lastModified": 1717527182, |
184 | "narHash": "sha256-Y3bOjoh2cFBqZN0Jw1zUdyr7tjygyxl2bD/QY73GZP0=", | 184 | "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=", |
185 | "owner": "nix-community", | 185 | "owner": "nix-community", |
186 | "repo": "home-manager", | 186 | "repo": "home-manager", |
187 | "rev": "2c78a57c544dd19b07442350727ced097e1aa6e6", | 187 | "rev": "845a5c4c073f74105022533907703441e0464bc3", |
188 | "type": "github" | 188 | "type": "github" |
189 | }, | 189 | }, |
190 | "original": { | 190 | "original": { |
191 | "owner": "nix-community", | 191 | "owner": "nix-community", |
192 | "ref": "release-23.11", | 192 | "ref": "release-24.05", |
193 | "repo": "home-manager", | 193 | "repo": "home-manager", |
194 | "type": "github" | 194 | "type": "github" |
195 | } | 195 | } |
@@ -254,16 +254,16 @@ | |||
254 | }, | 254 | }, |
255 | "nixpkgs": { | 255 | "nixpkgs": { |
256 | "locked": { | 256 | "locked": { |
257 | "lastModified": 1716633019, | 257 | "lastModified": 1717555607, |
258 | "narHash": "sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4=", | 258 | "narHash": "sha256-WZ1s48OODmRJ3DHC+I/DtM3tDRuRJlNqMvxvAPTD7ec=", |
259 | "owner": "NixOS", | 259 | "owner": "NixOS", |
260 | "repo": "nixpkgs", | 260 | "repo": "nixpkgs", |
261 | "rev": "9d29cd266cebf80234c98dd0b87256b6be0af44e", | 261 | "rev": "0b8e7a1ae5a94da2e1ee3f3030a32020f6254105", |
262 | "type": "github" | 262 | "type": "github" |
263 | }, | 263 | }, |
264 | "original": { | 264 | "original": { |
265 | "owner": "NixOS", | 265 | "owner": "NixOS", |
266 | "ref": "nixos-23.11", | 266 | "ref": "nixos-24.05", |
267 | "repo": "nixpkgs", | 267 | "repo": "nixpkgs", |
268 | "type": "github" | 268 | "type": "github" |
269 | } | 269 | } |
@@ -2,11 +2,11 @@ | |||
2 | description = "My NixOS configurations"; | 2 | description = "My NixOS configurations"; |
3 | 3 | ||
4 | inputs = { | 4 | inputs = { |
5 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; | 5 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; |
6 | nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; | 6 | nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; |
7 | flake-utils.url = "github:numtide/flake-utils"; | 7 | flake-utils.url = "github:numtide/flake-utils"; |
8 | home-manager = { | 8 | home-manager = { |
9 | url = "github:nix-community/home-manager/release-23.11"; | 9 | url = "github:nix-community/home-manager/release-24.05"; |
10 | inputs.nixpkgs.follows = "nixpkgs"; | 10 | inputs.nixpkgs.follows = "nixpkgs"; |
11 | }; | 11 | }; |
12 | rycee-nur = { | 12 | rycee-nur = { |
@@ -42,8 +42,8 @@ | |||
42 | test = { config, ... }: { | 42 | test = { config, ... }: { |
43 | imports = [ self.nixosModules.default ]; | 43 | imports = [ self.nixosModules.default ]; |
44 | 44 | ||
45 | home-manager.users.minijackson.home.stateVersion = "22.11"; | 45 | home-manager.users.minijackson.home.stateVersion = "24.05"; |
46 | home-manager.users.root.home.stateVersion = "22.11"; | 46 | home-manager.users.root.home.stateVersion = "24.05"; |
47 | 47 | ||
48 | users.users.minijackson.initialHashedPassword = ""; | 48 | users.users.minijackson.initialHashedPassword = ""; |
49 | users.users.root.initialHashedPassword = ""; | 49 | users.users.root.initialHashedPassword = ""; |
@@ -264,8 +264,8 @@ | |||
264 | isoImage.makeEfiBootable = true; | 264 | isoImage.makeEfiBootable = true; |
265 | isoImage.makeUsbBootable = true; | 265 | isoImage.makeUsbBootable = true; |
266 | 266 | ||
267 | home-manager.users.minijackson.home.stateVersion = "22.11"; | 267 | home-manager.users.minijackson.home.stateVersion = "24.05"; |
268 | home-manager.users.root.home.stateVersion = "22.11"; | 268 | home-manager.users.root.home.stateVersion = "24.05"; |
269 | 269 | ||
270 | users.users.minijackson.initialHashedPassword = ""; | 270 | users.users.minijackson.initialHashedPassword = ""; |
271 | users.users.root.initialHashedPassword = ""; | 271 | users.users.root.initialHashedPassword = ""; |
diff --git a/templates/desktop/flake.nix b/templates/desktop/flake.nix index 5295304..12f0898 100644 --- a/templates/desktop/flake.nix +++ b/templates/desktop/flake.nix | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | description = "Flake for the myHostname host"; | 2 | description = "Flake for the myHostname host"; |
3 | 3 | ||
4 | inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05"; | 4 | inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; |
5 | inputs.nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; | 5 | inputs.nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; |
6 | inputs.nixos-config-reborn = { | 6 | inputs.nixos-config-reborn = { |
7 | url = "git+https://git.huh.gdn/NixOS/nixos-config-reborn"; | 7 | url = "git+https://git.huh.gdn/NixOS/nixos-config-reborn"; |
@@ -35,10 +35,10 @@ | |||
35 | ./tinc.nix | 35 | ./tinc.nix |
36 | 36 | ||
37 | ({ ... }: { | 37 | ({ ... }: { |
38 | home-manager.users.minijackson.home.stateVersion = "21.05"; | 38 | home-manager.users.minijackson.home.stateVersion = "24.05"; |
39 | home-manager.users.root.home.stateVersion = "21.05"; | 39 | home-manager.users.root.home.stateVersion = "24.05"; |
40 | 40 | ||
41 | system.stateVersion = "21.05"; | 41 | system.stateVersion = "24.05"; |
42 | }) | 42 | }) |
43 | ]; | 43 | ]; |
44 | }; | 44 | }; |
diff --git a/usecases/desktop/graphical.nix b/usecases/desktop/graphical.nix index dc70802..bab45ea 100644 --- a/usecases/desktop/graphical.nix +++ b/usecases/desktop/graphical.nix | |||
@@ -100,7 +100,7 @@ inputs: { | |||
100 | }; | 100 | }; |
101 | }; | 101 | }; |
102 | 102 | ||
103 | programs.gnupg.agent.pinentryFlavor = "gnome3"; | 103 | programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gnome3; |
104 | 104 | ||
105 | # For KDEConnect | 105 | # For KDEConnect |
106 | networking.firewall.allowedTCPPortRanges = [ | 106 | networking.firewall.allowedTCPPortRanges = [ |