mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/winnowing: replace with winnow home-manager user
This commit is contained in:
parent
2d0a04dc5b
commit
c9e4e67026
@ -4,33 +4,31 @@
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
||||
(lib.private.mapHomeManagerUser "foo-dogsquared" {
|
||||
(lib.private.mapHomeManagerUser "winnow" {
|
||||
extraGroups = [
|
||||
"adbusers"
|
||||
"wheel"
|
||||
"audio"
|
||||
"docker"
|
||||
"podman"
|
||||
"networkmanager"
|
||||
"wireshark"
|
||||
];
|
||||
hashedPassword =
|
||||
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
home = "/home/foo-dogsquared";
|
||||
description = "Gabriel Arazas";
|
||||
home = "/home/winnow";
|
||||
description = "Some type of bird";
|
||||
})
|
||||
];
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "foo-dogsquared";
|
||||
defaultUser = "winnow";
|
||||
nativeSystemd = true;
|
||||
};
|
||||
|
||||
programs.bash.loginShellInit = "nixos-wsl-welcome";
|
||||
|
||||
programs.git.package = lib.mkForce pkgs.git;
|
||||
|
||||
# Setting the development environment mainly for container-related work.
|
||||
profiles.dev.enable = true;
|
||||
profiles.dev.containers.enable = true;
|
||||
|
19
users/home-manager/winnow/default.nix
Normal file
19
users/home-manager/winnow/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
|
||||
withRuby = true;
|
||||
withNodeJs = true;
|
||||
withPython3 = true;
|
||||
};
|
||||
|
||||
systemd.user.sessionVariables = {
|
||||
MANPAGER = "nvim +Man!";
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user