mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
36 lines
831 B
Nix
36 lines
831 B
Nix
{ config, lib, pkgs, modulesPath, foodogsquaredLib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
"${modulesPath}/profiles/minimal.nix"
|
|
|
|
(foodogsquaredLib.mapHomeManagerUser "winnow" {
|
|
extraGroups = [
|
|
"wheel"
|
|
"docker"
|
|
"podman"
|
|
];
|
|
hashedPassword =
|
|
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
|
|
isNormalUser = true;
|
|
createHome = true;
|
|
home = "/home/winnow";
|
|
description = "Some type of bird";
|
|
})
|
|
];
|
|
|
|
wsl = {
|
|
enable = true;
|
|
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.
|
|
suites.dev.enable = true;
|
|
suites.dev.containers.enable = true;
|
|
}
|