Closer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user