fix: inputs moment

This commit is contained in:
serenity-F 2026-09-17 21:04:55 +10:00
parent 0e26a5f36f
commit 3269956cf2
No known key found for this signature in database
3 changed files with 14 additions and 14 deletions

View file

@ -8,7 +8,8 @@
# modules that comprise the host specific configuration # modules that comprise the host specific configuration
modules = with self.nixosModules; [ modules = with self.nixosModules; [
# host-specific hardware options # host-specific options
hades
hadesHardware hadesHardware
# user defined options # user defined options
@ -18,7 +19,7 @@
serenity serenity
# extra modules to include on host # extra modules to include on host
desktop #desktop
#terminal #terminal
]; ];

View file

@ -37,7 +37,7 @@
example = "kanagawa"; example = "kanagawa";
}; };
dots = lib.mkOption { flakePath = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = '' description = ''
The absolute path to the dotfiles repository (flake root). The absolute path to the dotfiles repository (flake root).
@ -46,15 +46,6 @@
example = "/home/user/.dotfiles"; example = "/home/user/.dotfiles";
}; };
hostName = lib.mkOption {
type = lib.types.str;
description = ''
The hostname for this system.
This will be set as the system hostname and can be used for host-specific configuration.
'';
example = "Desktop";
};
username = lib.mkOption { username = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = '' description = ''

View file

@ -9,7 +9,8 @@
let let
username = config.userOptions.username; # change this when making a new user
user = serenity;
in in
@ -18,8 +19,15 @@
# necessary for home manager function # necessary for home manager function
imports = [ inputs.home-manager.nixosModules.home-manager ]; imports = [ inputs.home-manager.nixosModules.home-manager ];
config.userOptions = {
username = "${user}";
flakePath = "/home/${user}/SerenityOS";
wallpaper = "attunement.png";
colorScheme = "SerenityOS";
};
# user declaration # user declaration
users.users.${username} = { users.users.${user} = {
# remember to change this # remember to change this
initialPassword = "password"; initialPassword = "password";