/ hosts / hole / configuration.nix
configuration.nix
 1  # Edit this configuration file to define what should be installed on
 2  # your system.  Help is available in the configuration.nix(5) man page
 3  # and in the NixOS manual (accessible by running ‘nixos-help’).
 4  { pkgs, ... }:
 5  {
 6    imports = [
 7      ./hardware-configuration.nix
 8      #./services
 9      #./sops.nix
10      ./disk-config.nix
11  
12      ./../common/users/egor.nix
13      ./../common/users/root.nix
14    ];
15    #modules.gnome = {
16    #  enable = true;
17    # autologin = true;
18    #};
19    /*
20      modules.impermanence = {
21        enable = true;
22        disk = "vda3";
23      };
24    */
25    /*
26      modules.tailscale = {
27        enable = true;
28        exit = true;
29        hostname = "hole";
30        impermanence = true;
31      };
32    */
33    modules.system = {
34      hostname = "hole";
35      ssh = true;
36      # printing = true;
37      autoupdate = true;
38      cleanup = true;
39      hardening = true;
40      /*
41        usbguard = {
42          enable = false;
43          sops = true;
44        };
45        tpm = true;
46      */
47    };
48  
49    # This value determines the NixOS release from which the default
50    # settings for stateful data, like file locations and database versions
51    # on your system were taken. It‘s perfectly fine and recommended to leave
52    # this value at the release version of the first install of this system.
53    # Before changing this value read the documentation for this option
54    # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
55    system.stateVersion = "25.05"; # Did you read the comment?
56  }