Moving Netbird config to ANOTHER new file...

This commit is contained in:
Annika Merris 2024-07-25 10:56:16 -04:00
parent 41256cb274
commit f166f0a811
2 changed files with 14 additions and 8 deletions

View file

@ -14,6 +14,7 @@ inputs.nixpkgs.lib.nixosSystem {
sops-nix.nixosModules.sops
./hardware-configuration.nix
./audio.nix
./netbird.nix
../../modules/common
../../modules/nixos
{
@ -42,7 +43,7 @@ inputs.nixpkgs.lib.nixosSystem {
# networking.networkmanager.enable = true;
time.timeZone = "America/New_York";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11";
home-manager.backupFileExtension = "backup";
@ -60,13 +61,7 @@ inputs.nixpkgs.lib.nixosSystem {
element.enable = true;
firefox.enable = true;
kitty.enable = true;
# netbird.enable = true;
netbird = {
enable = true;
management_url = "https://netbird.moosenet.work:443";
admin_url = "https://netbird.moosenet.work";
setup_key = sops.netbird.setup_keys.end_user;
};
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
openrgb.enable = true;
prusa-slicer.enable = true;
spotifyd.enable = true;

11
hosts/kim/netbird.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
netbird = {
enable = true;
opts = {
management_url = "https://netbird.moosenet.work:443";
admin_url = "https://netbird.moosenet.work";
setup_key = sops.netbird.setup_keys.end_user;
};
};
}