~ruther/nixos-config

ref: 56a89c495930fe5dea4870a10329f2b5d16b842b nixos-config/nixos/modules/nixos-config.nix -rw-r--r-- 431 bytes
56a89c49 — Frantisek Bohacek feat(home): use themes as option of the module system 1 year, 9 days 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
{ lib, ... }:

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

    location = lib.mkOption  {
      type = lib.types.str;
      default = "$HOME/.setup";
    };

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

    useBluetooth = lib.mkOption {
      type = lib.types.bool;
      default = true;
    };
  };
}
Do not follow this link