whoop
This commit is contained in:
parent
c555f7ceee
commit
532a573ffc
|
@ -1,6 +1,10 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
nathan = {
|
||||||
|
config = {
|
||||||
|
isDesktop = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
home-manager.config = import ./home.nix;
|
home-manager.config = import ./home.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,23 +112,6 @@ in
|
||||||
description = "Whether to install the 'nathan' user";
|
description = "Whether to install the 'nathan' user";
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
# Name of the user to install
|
|
||||||
user = mkOption {
|
|
||||||
default = "nathan";
|
|
||||||
example = "nathan";
|
|
||||||
description = "Username to use for common configuration";
|
|
||||||
type = lib.types.str;
|
|
||||||
};
|
|
||||||
# Name of the user to install
|
|
||||||
email = mkOption {
|
|
||||||
default = "nathan@mccarty.io";
|
|
||||||
example = "nathan@mccarty.io";
|
|
||||||
description = "Email to use for common configuration";
|
|
||||||
type = lib.types.str;
|
|
||||||
};
|
|
||||||
# Is this system a desktop?
|
|
||||||
# Off by default
|
|
||||||
isDesktop = mkEnableOption "Desktop specific settings";
|
|
||||||
# Should we harden this system?
|
# Should we harden this system?
|
||||||
# On by default
|
# On by default
|
||||||
harden = mkEnableOptionT "Apply system hardening";
|
harden = mkEnableOptionT "Apply system hardening";
|
||||||
|
|
|
@ -25,5 +25,7 @@ in
|
||||||
|
|
||||||
# Set login shell
|
# Set login shell
|
||||||
user.shell = "${pkgs.fish}/bin/fish";
|
user.shell = "${pkgs.fish}/bin/fish";
|
||||||
|
|
||||||
|
nathan.config.user = "nix-on-droid";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,25 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# General system configuration
|
# General system configuration
|
||||||
config = { };
|
config = {
|
||||||
|
# Name of the user to install
|
||||||
|
user = mkOption {
|
||||||
|
default = "nathan";
|
||||||
|
example = "nathan";
|
||||||
|
description = "Username to use for common configuration";
|
||||||
|
type = lib.types.str;
|
||||||
|
};
|
||||||
|
# Name of the user to install
|
||||||
|
email = mkOption {
|
||||||
|
default = "nathan@mccarty.io";
|
||||||
|
example = "nathan@mccarty.io";
|
||||||
|
description = "Email to use for common configuration";
|
||||||
|
type = lib.types.str;
|
||||||
|
};
|
||||||
|
# Is this system a desktop?
|
||||||
|
# Off by default
|
||||||
|
isDesktop = mkEnableOption "Desktop specific settings";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue