nixos-config/configs/nixos/winnowing/default.nix

36 lines
812 B
Nix
Raw Normal View History

2023-12-04 09:57:55 +00:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
"${modulesPath}/profiles/minimal.nix"
(lib.private.mapHomeManagerUser "winnow" {
2023-12-04 09:57:55 +00:00
extraGroups = [
"wheel"
"docker"
"podman"
];
hashedPassword =
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
isNormalUser = true;
createHome = true;
home = "/home/winnow";
description = "Some type of bird";
2023-12-04 09:57:55 +00:00
})
];
wsl = {
enable = true;
defaultUser = "winnow";
2023-12-04 09:57:55 +00:00
nativeSystemd = true;
};
programs.bash.loginShellInit = "nixos-wsl-welcome";
programs.git.package = lib.mkForce pkgs.git;
2023-12-04 09:57:55 +00:00
# Setting the development environment mainly for container-related work.
profiles.dev.enable = true;
profiles.dev.containers.enable = true;
2023-12-04 09:57:55 +00:00
}