~ruther/nixos-config

ref: f25ce880d7cd7b0e61a16bcfda57ef3752d8803d nixos-config/nixos/modules/nixos-config.nix -rw-r--r-- 552 bytes
f25ce880 — Frantisek Bohacek feat: add idle mode to mako to show notifications indefinitely when idle 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, config, ... }:

{
  options.nixos-config = {
    defaultUser = lib.mkOption {
        type = lib.types.str;
        default = "ruther";
    };

    location = lib.mkOption  {
      type = lib.types.str;
      default = "${config.home-manager.users.${config.nixos-config.defaultUser}.home.homeDirectory}/.setup";
      defaultText = "$HOME/.setup";
    };

    isLaptop = lib.mkOption {
      type = lib.types.bool;
      default = false;
    };

    useBluetooth = lib.mkOption {
      type = lib.types.bool;
      default = true;
    };
  };
}