mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/winnowing: replace with winnow home-manager user
This commit is contained in:
parent
2d0a04dc5b
commit
c9e4e67026
@ -4,33 +4,31 @@
|
|||||||
imports = [
|
imports = [
|
||||||
"${modulesPath}/profiles/minimal.nix"
|
"${modulesPath}/profiles/minimal.nix"
|
||||||
|
|
||||||
(lib.private.mapHomeManagerUser "foo-dogsquared" {
|
(lib.private.mapHomeManagerUser "winnow" {
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"adbusers"
|
|
||||||
"wheel"
|
"wheel"
|
||||||
"audio"
|
|
||||||
"docker"
|
"docker"
|
||||||
"podman"
|
"podman"
|
||||||
"networkmanager"
|
|
||||||
"wireshark"
|
|
||||||
];
|
];
|
||||||
hashedPassword =
|
hashedPassword =
|
||||||
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
|
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
home = "/home/foo-dogsquared";
|
home = "/home/winnow";
|
||||||
description = "Gabriel Arazas";
|
description = "Some type of bird";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultUser = "foo-dogsquared";
|
defaultUser = "winnow";
|
||||||
nativeSystemd = true;
|
nativeSystemd = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.bash.loginShellInit = "nixos-wsl-welcome";
|
programs.bash.loginShellInit = "nixos-wsl-welcome";
|
||||||
|
|
||||||
|
programs.git.package = lib.mkForce pkgs.git;
|
||||||
|
|
||||||
# Setting the development environment mainly for container-related work.
|
# Setting the development environment mainly for container-related work.
|
||||||
profiles.dev.enable = true;
|
profiles.dev.enable = true;
|
||||||
profiles.dev.containers.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