Recreated files
This commit is contained in:
@@ -1,37 +1,3 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
wm = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "hyprland";
|
||||
description = "Type of window manager to use";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
# Minimal settings that must be defined here
|
||||
networking.hostName = "traveldroid";
|
||||
wm.type = "hyprland";
|
||||
|
||||
# User configuration
|
||||
users.users.${user.username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
hashedPassword = user.hashedPassword;
|
||||
home = user.homeDirectory;
|
||||
};
|
||||
|
||||
# Optional: Enable auto-login for testing
|
||||
services.getty.autologinUser = user.username;
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
|
||||
Reference in New Issue
Block a user