mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 14:06:53 -05:00
Moving Netbird config to ANOTHER new file...
This commit is contained in:
parent
41256cb274
commit
f166f0a811
2 changed files with 14 additions and 8 deletions
|
|
@ -14,6 +14,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./audio.nix
|
./audio.nix
|
||||||
|
./netbird.nix
|
||||||
../../modules/common
|
../../modules/common
|
||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
{
|
{
|
||||||
|
|
@ -42,7 +43,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
# networking.networkmanager.enable = true;
|
# networking.networkmanager.enable = true;
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
|
|
@ -60,13 +61,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
element.enable = true;
|
element.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
# netbird.enable = true;
|
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
|
||||||
netbird = {
|
|
||||||
enable = true;
|
|
||||||
management_url = "https://netbird.moosenet.work:443";
|
|
||||||
admin_url = "https://netbird.moosenet.work";
|
|
||||||
setup_key = sops.netbird.setup_keys.end_user;
|
|
||||||
};
|
|
||||||
openrgb.enable = true;
|
openrgb.enable = true;
|
||||||
prusa-slicer.enable = true;
|
prusa-slicer.enable = true;
|
||||||
spotifyd.enable = true;
|
spotifyd.enable = true;
|
||||||
|
|
|
||||||
11
hosts/kim/netbird.nix
Normal file
11
hosts/kim/netbird.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue