learn how to not impurely check hostname
This commit is contained in:
parent
0ab65ae59d
commit
4af20f8d42
3 changed files with 8 additions and 4 deletions
|
|
@ -84,8 +84,8 @@
|
||||||
./extras/dev.nix
|
./extras/dev.nix
|
||||||
./extras/gaming.nix
|
./extras/gaming.nix
|
||||||
./extras/folding.nix
|
./extras/folding.nix
|
||||||
nixos-cosmic.nixosModules.default
|
# nixos-cosmic.nixosModules.default
|
||||||
./extras/cosmic.nix
|
# ./extras/cosmic.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
NOlaptop = nixpkgs.lib.nixosSystem {
|
NOlaptop = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -152,7 +152,11 @@
|
||||||
services.snapper.configs = {
|
services.snapper.configs = {
|
||||||
home = {
|
home = {
|
||||||
SUBVOLUME = "/home";
|
SUBVOLUME = "/home";
|
||||||
FSTYPE = "bcachefs";
|
# FSTYPE = "bcachefs";
|
||||||
|
FSTYPE =
|
||||||
|
if lib.nixosSystem == "NOlaptop"
|
||||||
|
then "bcachefs"
|
||||||
|
else "btrfs";
|
||||||
ALLOW_USERS = ["tao"];
|
ALLOW_USERS = ["tao"];
|
||||||
TIMELINE_CREATE = true;
|
TIMELINE_CREATE = true;
|
||||||
TIMELINE_CLEANUP = true;
|
TIMELINE_CLEANUP = true;
|
||||||
|
|
@ -187,7 +191,7 @@
|
||||||
age.secrets.password-tao.file = ../secrets/syncthing-uwuraid.age;
|
age.secrets.password-tao.file = ../secrets/syncthing-uwuraid.age;
|
||||||
users.users.tao = {
|
users.users.tao = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.password-tao.path;
|
hashedPasswordFile = config.age.secrets.password-tao.path;
|
||||||
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
|
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
|
||||||
shell = pkgs.nushell;
|
shell = pkgs.nushell;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue