Compare commits

..

No commits in common. "c945d00f619c0b4d762c763cf11def2875ab6911" and "3c05f5e5a9de5c0d8fb139e5493e473c254c53f5" have entirely different histories.

3 changed files with 10 additions and 11 deletions

View File

@ -6,18 +6,11 @@ in
{
options.snowhawk.user = {
enable = lib.mkEnableOption "user";
username = lib.mkOption {
default = "ravenshade";
example = "zynh";
description = "the username to use. also defines the default home folder as /home/\${username}";
type = lib.types.str;
};
};
config = lib.mkIf cfg.enable {
home.username = lib.mkDefault cfg.username;
home.homeDirectory = lib.mkDefault "/home/${cfg.username}";
home.username = lib.mkDefault "ravenshade";
home.homeDirectory = lib.mkDefault "/home/ravenshade";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"

View File

@ -9,10 +9,13 @@
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.user.enable = false;
snowhawk.defaultPrograms.enable = false;
snowhawk.ssh.enable = true;
snowhawk.user.username = "val";
home.username = "val";
home.homeDirectory = "/home/val";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"

View File

@ -9,9 +9,12 @@
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.user.enable = false;
snowhawk.defaultPrograms.enable = false;
snowhawk.user.username = "zynh";
home.username = "zynh";
home.homeDirectory = "/home/zynh";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"