diff --git a/flake.nix b/flake.nix index 0b82dc4..802efa7 100644 --- a/flake.nix +++ b/flake.nix @@ -67,7 +67,9 @@ ./desktop/kde.nix ./home/yaroslav/steam.nix ./hosts/generic/teamspeak.nix + ./hosts/Aphelion/nfs.nix # ./hosts/generic/zapret.nix + ./hosts/Aphelion/dlna.nix home-manager.nixosModules.home-manager { home-manager.useUserPackages = true; diff --git a/home/yaroslav/kitty.nix b/home/yaroslav/kitty.nix index 2ec16bd..a5cf227 100644 --- a/home/yaroslav/kitty.nix +++ b/home/yaroslav/kitty.nix @@ -7,6 +7,7 @@ enable = true; settings = { background_opacity = 0.6; + font_size = 10; }; }; diff --git a/hosts/Aphelion/dlna.nix b/hosts/Aphelion/dlna.nix new file mode 100644 index 0000000..7e908c1 --- /dev/null +++ b/hosts/Aphelion/dlna.nix @@ -0,0 +1,13 @@ +{ ... }: +{ + services.minidlna = { + enable = true; + settings = { + media_dir = [ + "/Volumes/Trash/Music" + "/Volumes/Trash/Movies" + ]; + }; + openFirewall = true; + }; +} diff --git a/hosts/Aphelion/hardware-Aphelion.nix b/hosts/Aphelion/hardware-Aphelion.nix index e4853cd..302b31f 100644 --- a/hosts/Aphelion/hardware-Aphelion.nix +++ b/hosts/Aphelion/hardware-Aphelion.nix @@ -35,6 +35,16 @@ { device = "aphelion-zroot/home"; fsType = "zfs"; }; + fileSystems."/home/yaroslav/.local/share/Steam"= + { device = "aphelion-zroot/data/steam"; + fsType = "zfs"; + }; + fileSystems."/Volumes/Trash" = + { + device = "/dev/yarikpc/trash"; + fsType = "ext4"; + options = [ "x-mount.mkdir" "rw" ]; + }; swapDevices = [ ]; diff --git a/hosts/Aphelion/nfs.nix b/hosts/Aphelion/nfs.nix index d6f814d..2003e84 100644 --- a/hosts/Aphelion/nfs.nix +++ b/hosts/Aphelion/nfs.nix @@ -2,8 +2,7 @@ { services.nfs.server.enable = true; services.nfs.server.exports = '' - /share 192.168.1.0/24(rw) - /share/nixos-1 192.168.1.0/24(rw) + /Volumes/Trash 192.168.1.0/24(rw) ''; networking.firewall.allowedTCPPorts = [ 2049 ]; }