1
1
Fork 0

Compare commits

...

3 Commits

Author SHA1 Message Date
Tim Van Baak 7fabf0b9a1 backyard: add pv 2024-04-24 06:22:32 +00:00
Tim Van Baak 97a643945d backyard: import pool on boot 2024-04-24 04:32:35 +00:00
Tim Van Baak 66fb553ab7 backyard: add user katydid 2024-04-24 04:32:01 +00:00
1 changed files with 18 additions and 1 deletions

View File

@ -16,13 +16,13 @@
networking.hostId = "64cc144d"; networking.hostId = "64cc144d";
# https://old.reddit.com/r/zfs/comments/1826lgs/psa_its_not_block_cloning_its_a_data_corruption/ # https://old.reddit.com/r/zfs/comments/1826lgs/psa_its_not_block_cloning_its_a_data_corruption/
boot.kernelParams = [ "zfs.zfs_dmu_offset_next_sync=0" ]; boot.kernelParams = [ "zfs.zfs_dmu_offset_next_sync=0" ];
boot.zfs.extraPools = [ "pool" ];
beatific.hostName = "backyard"; beatific.hostName = "backyard";
beatific.defaults.tvbSync = false; beatific.defaults.tvbSync = false;
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
users.users.tvb.extraGroups = [ "networkmanager" ];
networking.firewall = { networking.firewall = {
enable = true; enable = true;
@ -30,6 +30,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ffmpeg # omnipotent media tool ffmpeg # omnipotent media tool
pv # zfs send progress meter
smartmontools # provides smartctl drive inspector smartmontools # provides smartctl drive inspector
]; ];
@ -41,6 +42,22 @@
}; };
}; };
users.users = {
tvb = {
extraGroups = [ "networkmanager" ];
};
katydid = {
uid = 1102;
isNormalUser = true;
group = "katydid";
initialPassword = "katydid";
};
};
users.groups = {
katydid.gid = 1102;
};
# This value governs how some stateful data, like databases, are handled # This value governs how some stateful data, like databases, are handled
# across different versions of NixOS. This should not be changed to a new # across different versions of NixOS. This should not be changed to a new
# release unless the sysadmin has determined that no services would be # release unless the sysadmin has determined that no services would be