Merge branch 'main' of github.com:Polensky/nixos
This commit is contained in:
commit
6f7bc34012
1 changed files with 11 additions and 4 deletions
|
|
@ -2,7 +2,9 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
user = "polen";
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
@ -21,8 +23,8 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
|
inherit user;
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "polen";
|
|
||||||
};
|
};
|
||||||
transmission = {
|
transmission = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -56,6 +58,10 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
taskchampion-sync-server = {
|
||||||
|
inherit user;
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
@ -64,14 +70,15 @@
|
||||||
8096 # jellyfin
|
8096 # jellyfin
|
||||||
9091 # transmission
|
9091 # transmission
|
||||||
9090 # prometheus
|
9090 # prometheus
|
||||||
|
10222 # taskchampion-sync-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
users.users.polen = {
|
users.users.user = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "polen";
|
description = user;
|
||||||
extraGroups = ["wheel" "transmission" "jellyfin"];
|
extraGroups = ["wheel" "transmission" "jellyfin"];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue