nixos-config/configs/nixos/winnowing/default.nix
Gabriel Arazas 9b7cc8a850
modules: move profiles custom namespace to suites
We now have a "proper" profiles modules ala-nixpkgs so we'll have to move
these to make it less confusing.
2024-01-22 14:48:55 +08:00

36 lines
808 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
"${modulesPath}/profiles/minimal.nix"
(lib.private.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;
}