nixos-config/configs/nixos/winnowing/default.nix
Gabriel Arazas a4177f9382
flake-parts/setups: set separate namespace for custom library
This at least allows us to make custom environment-specific library sets.
2024-02-11 15:16:25 +08:00

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;
}