mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: init
This commit is contained in:
commit
c19ea940bd
320 changed files with 23845 additions and 0 deletions
16
profiles/user1/configs/desktop.nix
Executable file
16
profiles/user1/configs/desktop.nix
Executable file
|
@ -0,0 +1,16 @@
|
|||
{flake, ...}: let
|
||||
inherit (flake) self;
|
||||
moduleNames = [
|
||||
"commandLine"
|
||||
"entertainment"
|
||||
"extras"
|
||||
"firefoxHM"
|
||||
"internet"
|
||||
"privacy"
|
||||
"productionWriting"
|
||||
];
|
||||
|
||||
moduleImports = map (module: self.homeModules.${module}) moduleNames;
|
||||
in {
|
||||
imports = moduleImports;
|
||||
}
|
16
profiles/user1/configs/laptop.nix
Executable file
16
profiles/user1/configs/laptop.nix
Executable file
|
@ -0,0 +1,16 @@
|
|||
{flake, ...}: let
|
||||
inherit (flake) self;
|
||||
moduleNames = [
|
||||
"commandLine"
|
||||
"entertainment"
|
||||
"extras"
|
||||
"firefoxHM"
|
||||
"internet"
|
||||
"privacy"
|
||||
"productionWriting"
|
||||
];
|
||||
|
||||
moduleImports = map (module: self.homeModules.${module}) moduleNames;
|
||||
in {
|
||||
imports = moduleImports;
|
||||
}
|
44
profiles/user1/default.nix
Executable file
44
profiles/user1/default.nix
Executable file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
config,
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
hostname = config.networking.hostName;
|
||||
inherit (flake.config.people) user1;
|
||||
inherit (flake.config.people.user.${user1}) name;
|
||||
in {
|
||||
users = {
|
||||
users.${user1} = {
|
||||
description = name;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
extraGroups = [
|
||||
"libvirtd"
|
||||
"disk"
|
||||
"networkmanager"
|
||||
"vboxusers"
|
||||
"wheel"
|
||||
"adbusers"
|
||||
"netdev"
|
||||
];
|
||||
};
|
||||
};
|
||||
home-manager.users = {
|
||||
${user1} = {
|
||||
home = {
|
||||
username = user1;
|
||||
homeDirectory = "/home/${user1}";
|
||||
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/user1/justfile
Executable file
0
profiles/user1/justfile
Executable file
Loading…
Add table
Add a link
Reference in a new issue