~ruther/nixos-config

ref: a6a97b76ca659d1d93d4f3181608f66049173b3f nixos-config/nixos/modules/nixos-config.nix -rw-r--r-- 431 bytes
a6a97b76 — Frantisek Bohacek feat: add TERMINAL and EDITOR user env vars 1 year, 6 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
{ 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;
    };
  };
}