This commit is contained in:
2026-07-08 16:24:11 +02:00
parent 3496b41d3c
commit 3f8eacc9a8
4 changed files with 118 additions and 9 deletions
+13 -2
View File
@@ -1,14 +1,19 @@
{ config, pkgs, ... }:
{
imports = [ ./hardware-configuration.nix ];
imports = [ ./hardware-configuration.nix ./services.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixserve";
networking.hostId = "941b956b";
networking.networkmanager.enable = true;
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
boot.zfs.extraPools = [ "media" ];
time.timeZone = "Europe/Stockholm";
i18n.defaultLocale = "en_US.UTF-8";
@@ -31,9 +36,14 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpiU4gStAtrJOBSkQA2YJh98fpWPpxWtWgwAGzVa/wc johansson.olov@gmail.com"
];
description = "ulve";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "media" "docker" ];
};
users.groups.media = {};
users.users.jellyfin.extraGroups = [ "media" ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
programs.zsh.enable = true;
security.polkit.enable = true;
@@ -41,6 +51,7 @@
wget
curl
git
transmission_4
];
nixpkgs.config.allowUnfree = true;