Merge branch 'development' of git.bitlab21.com:sam/nixos into development
This commit is contained in:
commit
4e57f67e92
|
@ -11,10 +11,7 @@
|
|||
fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence
|
||||
dev = "/dev/nvme0n1"; # depends on target hardware
|
||||
encrypted = true; # currrently only applies to btrfs
|
||||
btrfsMountDevice =
|
||||
if encrypted
|
||||
then "/dev/mapper/crypted"
|
||||
else "/dev/root_vg/root";
|
||||
btrfsMountDevice = "/dev/mapper/crypted";
|
||||
user = "sam";
|
||||
impermanence = true;
|
||||
piholeIp = configVars.networking.addresses.pihole.ip;
|
||||
|
|
|
@ -57,17 +57,17 @@ in {
|
|||
# # bind mounts
|
||||
# ../common/optional/fileserver/bind-mounts/homeshare.nix
|
||||
|
||||
../common/optional/fileserver/nfs-server/homeshare.nix
|
||||
# ../common/optional/fileserver/nfs-server/homeshare.nix
|
||||
|
||||
# nixos-containers
|
||||
../common/optional/nixos-containers/nix-bitcoin.nix
|
||||
../common/optional/nixos-containers/postgres.nix
|
||||
../common/optional/nixos-containers/baseddata-worker.nix
|
||||
../common/optional/nixos-containers/semitamaps-worker.nix
|
||||
../common/optional/nixos-containers/backup-server.nix
|
||||
../common/optional/nixos-containers/docker.nix
|
||||
../common/optional/nixos-containers/pihole.nix
|
||||
../common/optional/nixos-containers/metrics-server.nix
|
||||
# ../common/optional/nixos-containers/nix-bitcoin.nix
|
||||
# ../common/optional/nixos-containers/postgres.nix
|
||||
# ../common/optional/nixos-containers/baseddata-worker.nix
|
||||
# ../common/optional/nixos-containers/semitamaps-worker.nix
|
||||
# ../common/optional/nixos-containers/backup-server.nix
|
||||
# ../common/optional/nixos-containers/docker.nix
|
||||
# ../common/optional/nixos-containers/pihole.nix
|
||||
# ../common/optional/nixos-containers/metrics-server.nix
|
||||
|
||||
# # Build nix derivations on remote machine
|
||||
# ../common/optional/distributed-builds/local-machine.nix
|
||||
|
@ -75,11 +75,11 @@ in {
|
|||
outputs.nixosModules.nixosAutoUpgrade
|
||||
];
|
||||
|
||||
fileSystems."/mnt/main-ssd" = {
|
||||
device = "/dev/disk/by-uuid/ba884006-e813-4b67-9fe6-62aea08b3b59";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# fileSystems."/mnt/main-ssd" = {
|
||||
# device = "/dev/disk/by-uuid/ba884006-e813-4b67-9fe6-62aea08b3b59";
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
#
|
||||
services.tailscale.useRoutingFeatures = "server";
|
||||
|
||||
boot = {
|
||||
|
@ -104,15 +104,15 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
services.prometheus = {
|
||||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = ["systemd"];
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
# services.prometheus = {
|
||||
# exporters = {
|
||||
# node = {
|
||||
# enable = true;
|
||||
# enabledCollectors = ["systemd"];
|
||||
# openFirewall = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
system.services.nixosAutoUpgrade = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue