mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/winnowing: init
This commit is contained in:
parent
e50c7f84ff
commit
44463c2b28
8
hosts/winnowing/README.adoc
Normal file
8
hosts/winnowing/README.adoc
Normal file
@ -0,0 +1,8 @@
|
||||
= Winnowing
|
||||
:toc:
|
||||
|
||||
|
||||
This is the NixOS configuration for the WSL environment.
|
||||
Basically, it's a comfort setup in case I use Windows especially that I can easily bring my development setup in there which is very very nice.
|
||||
The main power comes from https://github.com/nix-community/NixOS-WSL/[NixOS-WSL] project.
|
||||
It is expected to be used with WSL2.
|
37
hosts/winnowing/default.nix
Normal file
37
hosts/winnowing/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
||||
(lib.mapHomeManagerUser "foo-dogsquared" {
|
||||
extraGroups = [
|
||||
"adbusers"
|
||||
"wheel"
|
||||
"audio"
|
||||
"docker"
|
||||
"podman"
|
||||
"networkmanager"
|
||||
"wireshark"
|
||||
];
|
||||
hashedPassword =
|
||||
"$y$j9T$UFzEKZZZrmbJ05CTY8QAW0$X2RD4m.xswyJlXZC6AlmmuubPaWPQZg/Q1LDgHpXHx1";
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
home = "/home/foo-dogsquared";
|
||||
description = "Gabriel Arazas";
|
||||
})
|
||||
];
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "winnow";
|
||||
nativeSystemd = true;
|
||||
};
|
||||
|
||||
programs.bash.loginShellInit = "nixos-wsl-welcome";
|
||||
|
||||
# Setting the development environment mainly for container-related work.
|
||||
profiles.dev.enable = true;
|
||||
profiles.dev.virtualization.enable = true;
|
||||
}
|
@ -40,3 +40,7 @@ systems = [
|
||||
"x86_64-linux",
|
||||
]
|
||||
format = "install-iso"
|
||||
|
||||
[winnowing]
|
||||
systems = [ "x86_64-linux" ]
|
||||
format = "iso"
|
||||
|
Loading…
Reference in New Issue
Block a user