diff options
-rw-r--r-- | flake.lock | 8 | ||||
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | hosts/olive/configuration.nix | 16 | ||||
-rw-r--r-- | hosts/olive/hardware-configuration.nix | 2 | ||||
-rw-r--r-- | programs/st/config.h | 4 |
5 files changed, 14 insertions, 18 deletions
@@ -216,16 +216,16 @@ | |||
216 | }, | 216 | }, |
217 | "nixpkgs_3": { | 217 | "nixpkgs_3": { |
218 | "locked": { | 218 | "locked": { |
219 | "lastModified": 1643247693, | 219 | "lastModified": 1643347846, |
220 | "narHash": "sha256-rmShxIuNjYBz4l83J0J++sug+MURUY1koPCzX4F8hfo=", | 220 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", |
221 | "owner": "NixOS", | 221 | "owner": "NixOS", |
222 | "repo": "nixpkgs", | 222 | "repo": "nixpkgs", |
223 | "rev": "6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca", | 223 | "rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41", |
224 | "type": "github" | 224 | "type": "github" |
225 | }, | 225 | }, |
226 | "original": { | 226 | "original": { |
227 | "owner": "NixOS", | 227 | "owner": "NixOS", |
228 | "ref": "nixos-21.11", | 228 | "ref": "nixos-unstable", |
229 | "repo": "nixpkgs", | 229 | "repo": "nixpkgs", |
230 | "type": "github" | 230 | "type": "github" |
231 | } | 231 | } |
@@ -2,7 +2,7 @@ | |||
2 | description = "nerdypepper's nixos config"; | 2 | description = "nerdypepper's nixos config"; |
3 | 3 | ||
4 | inputs = { | 4 | inputs = { |
5 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11"; | 5 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; |
6 | 6 | ||
7 | nixos-hardware.url = "github:nixos/nixos-hardware"; | 7 | nixos-hardware.url = "github:nixos/nixos-hardware"; |
8 | 8 | ||
diff --git a/hosts/olive/configuration.nix b/hosts/olive/configuration.nix index 77e3ffb..66b5bdc 100644 --- a/hosts/olive/configuration.nix +++ b/hosts/olive/configuration.nix | |||
@@ -1,7 +1,3 @@ | |||
1 | # Edit this configuration file to define what should be installed on | ||
2 | # your system. Help is available in the configuration.nix(5) man page | ||
3 | # and in the NixOS manual (accessible by running ‘nixos-help’). | ||
4 | |||
5 | { config, pkgs, lib, self, ... }: | 1 | { config, pkgs, lib, self, ... }: |
6 | 2 | ||
7 | { | 3 | { |
@@ -132,14 +128,14 @@ | |||
132 | keep-outputs = false | 128 | keep-outputs = false |
133 | keep-derivations = true | 129 | keep-derivations = true |
134 | ''; | 130 | ''; |
131 | settings = { | ||
132 | trusted-users = [ | ||
133 | "root" | ||
134 | "np" | ||
135 | ]; | ||
136 | }; | ||
135 | }; | 137 | }; |
136 | 138 | ||
137 | nix.trustedUsers = | ||
138 | [ | ||
139 | "root" | ||
140 | "np" | ||
141 | ]; | ||
142 | |||
143 | # This value determines the NixOS release from which the default | 139 | # This value determines the NixOS release from which the default |
144 | # settings for stateful data, like file locations and database versions | 140 | # settings for stateful data, like file locations and database versions |
145 | # on your system were taken. It‘s perfectly fine and recommended to leave | 141 | # on your system were taken. It‘s perfectly fine and recommended to leave |
diff --git a/hosts/olive/hardware-configuration.nix b/hosts/olive/hardware-configuration.nix index fc9ccb8..c2bff39 100644 --- a/hosts/olive/hardware-configuration.nix +++ b/hosts/olive/hardware-configuration.nix | |||
@@ -31,6 +31,6 @@ | |||
31 | 31 | ||
32 | swapDevices = [ ]; | 32 | swapDevices = [ ]; |
33 | 33 | ||
34 | nix.maxJobs = lib.mkDefault 8; | 34 | nix.settings.max-jobs = lib.mkDefault 8; |
35 | powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; | 35 | powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; |
36 | } | 36 | } |
diff --git a/programs/st/config.h b/programs/st/config.h index 696b99f..14fb754 100644 --- a/programs/st/config.h +++ b/programs/st/config.h | |||
@@ -130,8 +130,8 @@ static const char *colorname[] = { | |||
130 | */ | 130 | */ |
131 | unsigned int defaultfg = 7; | 131 | unsigned int defaultfg = 7; |
132 | unsigned int defaultbg = 0; | 132 | unsigned int defaultbg = 0; |
133 | static unsigned int defaultcs = 256; | 133 | unsigned int defaultcs = 256; |
134 | static unsigned int defaultrcs = 257; | 134 | unsigned int defaultrcs = 257; |
135 | 135 | ||
136 | /* | 136 | /* |
137 | * Default shape of cursor | 137 | * Default shape of cursor |