cleanup: remove obsolete waybar and walker CSS templates
This commit is contained in:
@@ -124,6 +124,14 @@ section "User & Localization"
|
||||
USERNAME=$(gum input --placeholder "Enter target username (no spaces)")
|
||||
if [ -z "$USERNAME" ]; then exit 1; fi
|
||||
|
||||
USER_PASSWORD=$(gum input --password --placeholder "Enter password for $USERNAME")
|
||||
USER_PASSWORD_CONFIRM=$(gum input --password --placeholder "Confirm password")
|
||||
|
||||
if [ "$USER_PASSWORD" != "$USER_PASSWORD_CONFIRM" ]; then
|
||||
gum style --foreground 9 "Error: Passwords do not match."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Select Timezone:"
|
||||
TIMEZONES=$(timedatectl list-timezones || echo "UTC")
|
||||
TIMEZONE=$(echo "$TIMEZONES" | gum filter --placeholder "Type to search...")
|
||||
@@ -206,6 +214,15 @@ cat <<EOF > /mnt/etc/nixos/system.nix
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
\$(echo -e \"$PROFILE_SYSTEM_CONFIG\")
|
||||
|
||||
users.users.\"$USERNAME\" = {
|
||||
isNormalUser = true;
|
||||
initialPassword = \"$USER_PASSWORD\";
|
||||
extraGroups = [ \"networkmanager\" \"wheel\" \"video\" \"audio\" ];
|
||||
};
|
||||
|
||||
system.stateVersion = \"25.11\";
|
||||
|
||||
environment.systemPackages = with pkgs; [];
|
||||
}
|
||||
EOF
|
||||
@@ -246,6 +263,7 @@ cat <<EOF > /mnt/etc/nixos/flake.nix
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.$USERNAME = {
|
||||
imports = [ nomarchy.nixosModules.home ./home.nix ];
|
||||
home.username = \"$USERNAME\";
|
||||
|
||||
Reference in New Issue
Block a user