about summary refs log tree commit diff stats
path: root/flake/nixosConfigurations/common.nix
blob: 585e883b9a2fb398f111d6004fe4c7fbffe41d42 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This file contains common configuration applied to every host.
# It should only `enable` options defined in the `modules` directory.
{...}: {
  soispha = {
    boot.enable = true;
    cleanup.enable = true;
    documentation.enable = true;

    fonts = {
      enable = true;
      enableEmoji = true;
    };

    home-manager.enable = true;
    impermanence = {
      enable = true;

      directories = [
        "/etc/nixos"
        "/var/log"
        "/var/lib/systemd"
        "/var/lib/nixos"
      ];
    };
    polkit.enable = true;
    power.enable = true;

    services = {
      adb = {
        enable = true;
        user = "soispha";
      };
      fwupd.enable = true;
      postgresql.enable = false;
      printing.enable = true;
      scanning.enable = true;
      snapper.enable = true;
      steam.enable = false;
      systemDiff.enable = true;
    };

    programs = {
      atuin.enable = true;
      imv.enable = true;
      lf.enable = true;
      zathura.enable = true;
      zsh.enable = true;
    };

    sound.enable = true;
    version.enable = true;
  };
}