Adding users

This commit is contained in:
Julia Lange 2025-11-17 16:16:39 -08:00
parent 823c6d0738
commit bcb09055f8
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
9 changed files with 120 additions and 735 deletions

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, ... }:
{ config, lib, ... }:
{
options.aagl = {
@ -12,16 +12,21 @@
"Enables honkai 3rd impact";
};
imports = [ inputs.aagl.nixosModules.default ];
# imports = [ inputs.aagl.nixosModules.default ];
config = lib.mkIf config.aagl.enable {
nix.settings = inputs.aagl.nixConfig;
config.warnings = lib.mkIf (config.aagl.enable || config.aagl.honkai-rail ||
config.aagl.genshin || config.aagl.honkai-3rd) [''
aagl.* has been deprecated to allow the removal of aagl from flake inputs.
''];
programs.honkers-railway-launcher.enable =
lib.mkIf config.aagl.honkai-rail true;
programs.anime-game-launcher.enable =
lib.mkIf config.aagl.genshin true;
programs.honkers-launcher.enable =
lib.mkIf config.aagl.honkai-3rd true;
};
# config = lib.mkIf config.aagl.enable {
# nix.settings = inputs.aagl.nixConfig;
#
# programs.honkers-railway-launcher.enable =
# lib.mkIf config.aagl.honkai-rail true;
# programs.anime-game-launcher.enable =
# lib.mkIf config.aagl.genshin true;
# programs.honkers-launcher.enable =
# lib.mkIf config.aagl.honkai-3rd true;
# };
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, hostname, usernameList, ... }:
{ config, pkgs, lib, ... }:
{
options.system = {
@ -22,7 +22,6 @@
boot.loader.efi.canTouchEfiVariables = true;
})
{
networking.hostName = hostname;
system.stateVersion = lib.mkDefault "23.05";
time.timeZone = config.system.timezone;
@ -39,24 +38,24 @@
# XDG Compliance
nix.settings.use-xdg-base-directories = true;
users = {
users = builtins.listToAttrs (map (
user: {
name = user;
value = {
name = user;
isNormalUser = true;
extraGroups = [ "network" ];
};
}
) usernameList);
groups = {
wheel = {
members = config.system.users.bigWheels;
};
network = { };
};
};
# users = {
# users = builtins.listToAttrs (map (
# user: {
# name = user;
# value = {
# name = user;
# isNormalUser = true;
# extraGroups = [ "network" ];
# };
# }
# ) usernameList);
# groups = {
# wheel = {
# members = config.system.users.bigWheels;
# };
# network = { };
# };
# };
fonts = {
enableDefaultPackages = true;

View file

@ -1,4 +1,4 @@
{ inputs, config, lib, ... }:
{ config, lib, ... }:
{
@ -6,18 +6,14 @@
enable = lib.mkEnableOption "Enables hyprland";
};
imports = [
inputs.hyprland.nixosModules.default
];
# imports = [
# inputs.hyprland.nixosModules.default
# ];
config = {
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
experimental-features = [ "nix-command" "flakes" ];
};
programs.hyprland.enable = lib.mkIf config.hyprland.enable true;
};
config.warnings = lib.mkIf config.hyprland.enable [''
hyprland.enable has been deprecated to allow the removal of hyprland from
flake inputs.
''];
# config.programs.hyprland.enable = lib.mkIf config.hyprland.enable true;
}