Skip to content

Commit

Permalink
convert nixos user to walawren user
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarlson94 committed Mar 11, 2024
1 parent 29a8b16 commit 84e91b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ in
{
home-manager = createHomeManager {
inherit system;
user = "nixos";
user = "walawren";
homeFile = ./nixos-wsl/home.nix;
};
}
Expand Down
4 changes: 2 additions & 2 deletions hosts/nixos-wsl/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in
];

wsl.enable = true;
wsl.defaultUser = "nixos";
wsl.defaultUser = "walawren";


# This value determines the NixOS release from which the default
Expand Down Expand Up @@ -47,7 +47,7 @@ in
};

users.users = {
nixos = {
walawren = {
shell = pkgs.zsh;
extraGroups = [ "docker" ];
};
Expand Down
6 changes: 2 additions & 4 deletions hosts/nixos-wsl/home.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{ config, pkgs, lib, ... }:

{
imports = [ ../../modules/home ];

home.username = "nixos";
home.homeDirectory = "/home/nixos";
home.username = "walawren";
home.homeDirectory = "/home/walawren";

modules.cli.enable = true;
}

0 comments on commit 84e91b0

Please sign in to comment.