desktop preparing
This commit is contained in:
parent
d2b59d97cb
commit
79d3f7e89d
7 changed files with 65 additions and 47 deletions
|
|
@ -1,20 +1,30 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [ ../common.nix ./hardware-configuration.nix ];
|
||||
networking = {
|
||||
hostName = "nixos-desktop";
|
||||
};
|
||||
users.users = {
|
||||
data = {
|
||||
uid = 1256;
|
||||
isNormalUser = true;
|
||||
home = "/home/data";
|
||||
hashedPasswordFile = "/secrets/user/data-pw";
|
||||
};
|
||||
bogale = {
|
||||
uid = 1551;
|
||||
isNormalUser = true;
|
||||
home = "/home/bogale";
|
||||
extraGroups = [ "wheel" ];
|
||||
hashedPasswordFile = "/secrets/user/bogale-pw";
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
hostName = "nixos-desktop";
|
||||
wg-quick.interfaces.awg0 = {
|
||||
configFile = "/secrets/awg/2.conf";
|
||||
address = [ "fc00::3/128" "10.0.0.3/32" ];
|
||||
};
|
||||
networkmanager.ensureProfiles.profiles.home-wifi = {
|
||||
wifi.ssid = "bogale_5";
|
||||
ipv6.addresses = "fc01::3/64";
|
||||
ipv4.addresses = "10.1.0.3/16";
|
||||
wifi-security.psk = "$BOGALE_5_PSK";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue