summaryrefslogtreecommitdiff
path: root/hosts/muhammed/dev-vm/configuration/user.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/muhammed/dev-vm/configuration/user.nix')
-rw-r--r--hosts/muhammed/dev-vm/configuration/user.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/hosts/muhammed/dev-vm/configuration/user.nix b/hosts/muhammed/dev-vm/configuration/user.nix
new file mode 100644
index 0000000..bf2b93f
--- /dev/null
+++ b/hosts/muhammed/dev-vm/configuration/user.nix
@@ -0,0 +1,23 @@
+{
+ # Register the user which we will be logging into from the host.
+ users.users.linus = {
+ isNormalUser = true;
+ password = "diller"; # Don't care. No security implications.
+ extraGroups = ["wheel"];
+ };
+
+ home-manager.users.linus = {
+ imports = [
+ ../../../../shared/home-manager/development-full
+ ];
+ home.stateVersion = "24.05";
+ };
+
+ # Allow passwordless sudo for easy use. We don't have to be too worried about wrecking the system.
+ security.sudo.extraRules = [
+ {
+ users = ["linus"];
+ commands = ["ALL"];
+ }
+ ];
+}