From f6e600c20d6a97ebeda23fa2bb5621646222b2b0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jan 2021 20:53:17 +0100 Subject: sif: import config --- users/gkleen/default.nix | 7 +++++++ users/root.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 users/gkleen/default.nix create mode 100644 users/root.nix (limited to 'users') diff --git a/users/gkleen/default.nix b/users/gkleen/default.nix new file mode 100644 index 00000000..03e4a64b --- /dev/null +++ b/users/gkleen/default.nix @@ -0,0 +1,7 @@ +{ userName, pkgs, ... }: +{ + users.users.${userName} = { + hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/"; + extraGroups = ["wheel" "networkmanager"]; + }; +} diff --git a/users/root.nix b/users/root.nix new file mode 100644 index 00000000..88cc6b26 --- /dev/null +++ b/users/root.nix @@ -0,0 +1 @@ +import ./gkleen -- cgit v1.2.3