learn how to not impurely check hostname

This commit is contained in:
Tao Tien 2024-10-15 20:58:42 -07:00
parent 0ab65ae59d
commit 4af20f8d42
3 changed files with 8 additions and 4 deletions

View file

@ -152,7 +152,11 @@
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
FSTYPE = "bcachefs";
# FSTYPE = "bcachefs";
FSTYPE =
if lib.nixosSystem == "NOlaptop"
then "bcachefs"
else "btrfs";
ALLOW_USERS = ["tao"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
@ -187,7 +191,7 @@
age.secrets.password-tao.file = ../secrets/syncthing-uwuraid.age;
users.users.tao = {
isNormalUser = true;
passwordFile = config.age.secrets.password-tao.path;
hashedPasswordFile = config.age.secrets.password-tao.path;
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
shell = pkgs.nushell;
};