flake-parts: Almost done with yggdrasil

This commit is contained in:
Christoph Hollizeck 2025-10-28 00:17:33 +01:00
parent d579c8ad2c
commit ebc8a545c8
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
43 changed files with 2650 additions and 135 deletions

View file

@ -19,29 +19,53 @@
};
};
modules.nixos.cholli =
{ pkgs, ... }:
{
programs.fish.enable = true;
modules = {
nixos.cholli =
{ pkgs, ... }:
{
programs.fish.enable = true;
users.users.cholli = {
description = config.flake.meta.users.cholli.name;
isNormalUser = true;
createHome = true;
extraGroups = [
"audio"
"input"
"networkmanager"
"sound"
"tty"
"wheel"
];
shell = pkgs.fish;
# TODO: fix this with sops
initialPassword = "asdf";
};
nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ];
users.users.cholli = {
description = config.flake.meta.users.cholli.name;
isNormalUser = true;
createHome = true;
extraGroups = [
"audio"
"input"
"networkmanager"
"sound"
"tty"
"wheel"
];
shell = pkgs.fish;
# TODO: fix this with sops
initialPassword = "asdf";
};
nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ];
};
homeManager.cholli =
{ ... }:
let
defaultIconFileName = "profile.png";
in
{
home = {
file = {
"Desktop/.keep".text = "";
"Documents/.keep".text = "";
"Downloads/.keep".text = "";
"Music/.keep".text = "";
"Pictures/.keep".text = "";
"Videos/.keep".text = "";
"projects/.keep".text = "";
".face".source = ./${defaultIconFileName};
"Pictures/${defaultIconFileName}".source = ./${defaultIconFileName};
};
};
};
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB