Compare commits
No commits in common. "8823cd9b36a60d3817ad9083cd79280c50dcc874" and "84fb7727da161c6a83717147fec75d062a87947c" have entirely different histories.
8823cd9b36
...
84fb7727da
|
@ -44,6 +44,17 @@
|
||||||
dataDir = "/srv/music";
|
dataDir = "/srv/music";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
randomcat.services.zfs.datasets = {
|
||||||
|
"rpool_albion/data" = { mountpoint = "none"; };
|
||||||
|
"rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; };
|
||||||
|
"rpool_albion/state" = { mountpoint = "none"; };
|
||||||
|
"rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; };
|
||||||
|
"rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; };
|
||||||
|
"rpool_albion/srv" = { mountpoint = "none"; };
|
||||||
|
"rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; };
|
||||||
|
"rpool_albion/srv/music" = { mountpoint = "/srv/music"; };
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# SSD on board
|
|
||||||
|
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
"cryptroot".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd";
|
"cryptroot".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.etc.crypttab.text = ''
|
||||||
|
albion UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key
|
||||||
|
'';
|
||||||
|
|
||||||
|
boot.supportedFilesystems = [ "ntfs" ]; # for USB drives
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/ad4cbc18-8849-40ed-b0bf-097f8f46346b";
|
device = "/dev/disk/by-uuid/ad4cbc18-8849-40ed-b0bf-097f8f46346b";
|
||||||
|
@ -64,28 +68,4 @@
|
||||||
device = "/swap/swapfile";
|
device = "/swap/swapfile";
|
||||||
size = 32 * 1024;
|
size = 32 * 1024;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
||||||
# HDD in bay
|
|
||||||
|
|
||||||
environment.etc.crypttab.text = ''
|
|
||||||
albion UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key
|
|
||||||
'';
|
|
||||||
|
|
||||||
randomcat.services.zfs.datasets = {
|
|
||||||
"rpool_albion/data" = { mountpoint = "none"; };
|
|
||||||
"rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; };
|
|
||||||
"rpool_albion/state" = { mountpoint = "none"; };
|
|
||||||
"rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; };
|
|
||||||
"rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; };
|
|
||||||
"rpool_albion/srv" = { mountpoint = "none"; };
|
|
||||||
"rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; };
|
|
||||||
"rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; };
|
|
||||||
"rpool_albion/srv/music" = { mountpoint = "/srv/music"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# Other
|
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "ntfs" ]; # for USB drives
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
randomcat.services.zfs.datasets = {
|
||||||
|
"rpool_albion/srv" = { mountpoint = "none"; };
|
||||||
|
"rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; };
|
||||||
|
};
|
||||||
|
|
||||||
age.secrets.ftp-userDb-qenya = {
|
age.secrets.ftp-userDb-qenya = {
|
||||||
# To update this, see the nixos docs for services.vsftpd.userDbPath. Note
|
# To update this, see the nixos docs for services.vsftpd.userDbPath. Note
|
||||||
# that the command it gives to create a userDb, if applied to an *existing*
|
# that the command it gives to create a userDb, if applied to an *existing*
|
||||||
|
|
|
@ -30,20 +30,7 @@
|
||||||
"networkmanager" # UI wifi configuration
|
"networkmanager" # UI wifi configuration
|
||||||
"dialout" # access to serial ports
|
"dialout" # access to serial ports
|
||||||
];
|
];
|
||||||
home-manager.users.qenya = { pkgs, ... }: {
|
home-manager.users.qenya.imports = [ ./home.nix ];
|
||||||
home.packages = with pkgs; [
|
|
||||||
keepassxc
|
|
||||||
amberol
|
|
||||||
foliate
|
|
||||||
nicotine-plus
|
|
||||||
|
|
||||||
# games
|
|
||||||
openttd
|
|
||||||
prismlauncher
|
|
||||||
nur.repos.qenya.digital-a-love-story
|
|
||||||
nur.repos.qenya.dont-take-it-personally-babe
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.evolution.enable = true; # not in home-manager yet; not declaratively configurable yet
|
programs.evolution.enable = true; # not in home-manager yet; not declaratively configurable yet
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
16
hosts/tohru/home.nix
Normal file
16
hosts/tohru/home.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
keepassxc
|
||||||
|
amberol
|
||||||
|
foliate
|
||||||
|
nicotine-plus
|
||||||
|
|
||||||
|
# games
|
||||||
|
openttd
|
||||||
|
prismlauncher
|
||||||
|
nur.repos.qenya.digital-a-love-story
|
||||||
|
nur.repos.qenya.dont-take-it-personally-babe
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue