Migrate wg-rpi to flakes
This commit is contained in:
parent
1ad87d46c6
commit
3c3ee84382
2 changed files with 52 additions and 25 deletions
|
@ -4,11 +4,11 @@ let
|
|||
# SSIDpassword = "ENTER_PASSWORD";
|
||||
# interface = "wlan0";
|
||||
wg_interface = "end0";
|
||||
hostname = "netflix-huijaus";
|
||||
hostname = "wg-rpi";
|
||||
ddPassFile = "/root/wg-conf/ddPassFile";
|
||||
in
|
||||
{
|
||||
imports = [ ../../shared/base.nix ];
|
||||
imports = [ ../../../shared/base.nix ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wireguard-tools
|
||||
|
@ -94,6 +94,7 @@ in
|
|||
passwordFile = ddPassFile;
|
||||
};
|
||||
#################### EVERYTHING BELOW THIS SHOULD NOT NEED TO CHANGE ####################
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
nix.settings = {
|
||||
cores = 3;
|
Loading…
Add table
Add a link
Reference in a new issue