mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
23 lines
564 B
Nix
23 lines
564 B
Nix
{ lib, ... }:
|
|
{
|
|
options.swarselsystems = {
|
|
isDarwin = lib.mkEnableOption "darwin host";
|
|
isLinux = lib.mkEnableOption "whether this is a linux machine";
|
|
mainUser = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "swarsel";
|
|
};
|
|
homeDir = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "/home/swarsel";
|
|
};
|
|
xdgDir = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "/run/user/1000";
|
|
};
|
|
flakePath = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "/home/swarsel/.dotfiles";
|
|
};
|
|
};
|
|
}
|