2024-02-11 07:16:25 +00:00
|
|
|
{ config, lib, pkgs, modulesPath, foodogsquaredLib, ... }:
|
2023-12-04 09:57:55 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
"${modulesPath}/profiles/minimal.nix"
|
|
|
|
|
2024-02-11 07:16:25 +00:00
|
|
|
(foodogsquaredLib.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;
|
2023-12-26 01:58:48 +00:00
|
|
|
home = "/home/winnow";
|
|
|
|
description = "Some type of bird";
|
2023-12-04 09:57:55 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
wsl = {
|
|
|
|
enable = true;
|
2023-12-26 01:58:48 +00:00
|
|
|
defaultUser = "winnow";
|
2023-12-04 09:57:55 +00:00
|
|
|
nativeSystemd = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.bash.loginShellInit = "nixos-wsl-welcome";
|
|
|
|
|
2023-12-26 01:58:48 +00:00
|
|
|
programs.git.package = lib.mkForce pkgs.git;
|
|
|
|
|
2023-12-04 09:57:55 +00:00
|
|
|
# Setting the development environment mainly for container-related work.
|
2024-01-22 06:48:55 +00:00
|
|
|
suites.dev.enable = true;
|
|
|
|
suites.dev.containers.enable = true;
|
2023-12-04 09:57:55 +00:00
|
|
|
}
|