summaryrefslogtreecommitdiff
path: root/kj-laptop01
diff options
context:
space:
mode:
authorKj Tsanaktsidis <kjtsanaktsidis@groq.com>2025-09-07 16:35:01 +1000
committerKj Tsanaktsidis <kjtsanaktsidis@groq.com>2025-09-07 16:35:01 +1000
commitf424c5e6512f9822a91801bf15344bad34019c3e (patch)
treeb86ca94af34bfc63bd87c69de81296e21c2de454 /kj-laptop01
parent21aac7678f85c81505fc0c7171f46eaa9ccfd2df (diff)
add htop
Diffstat (limited to 'kj-laptop01')
-rw-r--r--kj-laptop01/configuration.nix44
1 files changed, 24 insertions, 20 deletions
diff --git a/kj-laptop01/configuration.nix b/kj-laptop01/configuration.nix
index d491da7..47daaa8 100644
--- a/kj-laptop01/configuration.nix
+++ b/kj-laptop01/configuration.nix
@@ -10,6 +10,22 @@
imports = [
./disk-config.nix
];
+
+ nix = {
+ extraOptions = ''
+ experimental-features = ca-derivations nix-command flakes
+ '';
+ settings = {
+ substituters = [
+ "https://cache.nixos.org"
+ "https://cache.ngi0.nixos.org/"
+ ];
+ trusted-public-keys = [
+ "cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="
+ ];
+ };
+ };
+
sops = {
defaultSopsFile = ./secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
@@ -27,6 +43,12 @@
boot.loader.systemd-boot.enable = true;
system.stateVersion = "25.05";
+ swapDevices = [
+ {
+ device = "/swap/swapfile";
+ size = 32768;
+ }
+ ];
security.sudo.enable = true;
users.mutableUsers = false;
@@ -81,25 +103,7 @@
];
};
- nix = {
- extraOptions = ''
- experimental-features = ca-derivations nix-command flakes
- '';
- settings = {
- substituters = [
- "https://cache.nixos.org"
- "https://cache.ngi0.nixos.org/"
- ];
- trusted-public-keys = [
- "cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="
- ];
- };
- };
-
- swapDevices = [
- {
- device = "/swap/swapfile";
- size = 32768;
- }
+ environment.systemPackages = with pkgs; [
+ htop
];
}