Add config for laptop
Some checks failed
pre-commit / pre-commit (push) Failing after 19s

This commit is contained in:
2024-04-18 19:29:08 +02:00
parent 3999a552d4
commit fca52c4b84
14 changed files with 419 additions and 12 deletions

View File

@@ -3,6 +3,13 @@
{
imports = [ ./hardware-configuration.nix ];
# Sops stuff
sops.defaultSopsFile = ../../secrets/gunter/secrets.yaml;
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true;
sops.secrets."gotify_tokens/backup-home" = { };
# Bootloader stuff
boot.kernelParams = [
"quiet"
@@ -18,6 +25,10 @@
# Networking stuff
networking.hostName = "prismo"; # Define your hostname.
networking.networkmanager.enable = true;
networking.nftables.enable = true;
networking.firewall = {
enable = true;
};
# Set time stuff
time.timeZone = "Europe/Oslo";