mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 11:05:23 -05:00
sync
This commit is contained in:
parent
4b8593b7f2
commit
74877a1c6c
2 changed files with 35 additions and 0 deletions
|
|
@ -9,12 +9,36 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
globals
|
||||
lix-module.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
./netbird.nix
|
||||
../../modules/common
|
||||
../../modules/nixos
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
physical = false;
|
||||
server = true;
|
||||
networking.hostName = "nixbird";
|
||||
|
||||
networking.useDHCP = nixpkgs.lib.mkDefault true;
|
||||
networking.networkmanager.unmanaged = [ "wt0" ];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = 23.11;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
|
||||
autio.enable = false;
|
||||
gui.enable = false;
|
||||
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
11
hosts/nixbird/netbird.nix
Normal file
11
hosts/nixbird/netbird.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
sops.secrets."netbird/setup_keys/end_user" = { };
|
||||
netbird = {
|
||||
enable = true;
|
||||
opts = {
|
||||
management_url = "https://netbird.moosenet.work:443";
|
||||
admin_url = "https://netbird.moosenet.work";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue