feat: init

This commit is contained in:
Nick 2024-10-06 15:25:05 -05:00
commit c19ea940bd
320 changed files with 23845 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{flake, ...}: let
inherit (flake) self;
moduleNames = [
"commandLine"
"entertainment"
"extras"
"fileManagement"
"internet"
"internetExtras"
"productionArt"
"productionArtExtras"
"productionAudio"
"productionCode"
"productionVideo"
"productionWriting"
"wpsOffice"
];
moduleImports = map (module: self.homeModules.${module}) moduleNames;
in {
imports = moduleImports;
}

View file

@ -0,0 +1,16 @@
{flake, ...}: let
inherit (flake) self;
moduleNames = [
"commandLine"
"entertainment"
"extras"
"fileManagement"
"internet"
"internetExtras"
"wpsOffice"
];
moduleImports = map (module: self.homeModules.${module}) moduleNames;
in {
imports = moduleImports;
}

44
profiles/user2/default.nix Executable file
View file

@ -0,0 +1,44 @@
{
config,
flake,
pkgs,
...
}: let
hostname = config.networking.hostName;
inherit (flake.config.people) user2;
inherit (flake.config.people.user.${user2}) name;
in {
users = {
users.${user2} = {
description = name;
isNormalUser = true;
shell = pkgs.nushell;
extraGroups = [
"libvirtd"
"disk"
"networkmanager"
"vboxusers"
"wheel"
"adbusers"
"netdev"
];
};
};
home-manager.users = {
${user2} = {
home = {
username = user2;
homeDirectory = "/home/${user2}";
file = {
"./justfile".source = ./justfile;
"./.steam/steam/steam_dev.cfg".source = ../../nixos/modules/steam/steam_dev.cfg;
};
sessionVariables = {};
};
imports = [
{home.stateVersion = config.system.stateVersion;}
(import ./configs/${hostname}.nix {flake = flake;})
];
};
};
}

0
profiles/user2/justfile Executable file
View file