mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-27 06:28:20 -04:00
264 current 2024-10-02 15:42:07 24.11.20240916.99dc878 6.11.0 *
This commit is contained in:
parent
ad27d55764
commit
1d4904a4c9
3 changed files with 27 additions and 3 deletions
9
common/users/meyer/default.nix
Normal file
9
common/users/meyer/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
let
|
||||
NAME = "meyer";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(import ../modules/networkManager.nix { inherit NAME; })
|
||||
];
|
||||
}
|
17
common/users/modules/networkManager.nix
Normal file
17
common/users/modules/networkManager.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ NAME }: { ... }: {
|
||||
users = {
|
||||
users = {
|
||||
"${NAME}" = {
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue