fix: inputs moment
This commit is contained in:
parent
0e26a5f36f
commit
3269956cf2
3 changed files with 14 additions and 14 deletions
|
|
@ -8,7 +8,8 @@
|
|||
# modules that comprise the host specific configuration
|
||||
modules = with self.nixosModules; [
|
||||
|
||||
# host-specific hardware options
|
||||
# host-specific options
|
||||
hades
|
||||
hadesHardware
|
||||
|
||||
# user defined options
|
||||
|
|
@ -18,7 +19,7 @@
|
|||
serenity
|
||||
|
||||
# extra modules to include on host
|
||||
desktop
|
||||
#desktop
|
||||
#terminal
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
example = "kanagawa";
|
||||
};
|
||||
|
||||
dots = lib.mkOption {
|
||||
flakePath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
The absolute path to the dotfiles repository (flake root).
|
||||
|
|
@ -46,15 +46,6 @@
|
|||
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 {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
let
|
||||
|
||||
username = config.userOptions.username;
|
||||
# change this when making a new user
|
||||
user = serenity;
|
||||
|
||||
in
|
||||
|
||||
|
|
@ -18,8 +19,15 @@
|
|||
# necessary for home manager function
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
config.userOptions = {
|
||||
username = "${user}";
|
||||
flakePath = "/home/${user}/SerenityOS";
|
||||
wallpaper = "attunement.png";
|
||||
colorScheme = "SerenityOS";
|
||||
};
|
||||
|
||||
# user declaration
|
||||
users.users.${username} = {
|
||||
users.users.${user} = {
|
||||
|
||||
# remember to change this
|
||||
initialPassword = "password";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue