Personal-use NixOS configuration
1{
2 flakeRoot,
3 ...
4}:
5
6{
7 imports = [
8 (flakeRoot + /users/encode42/common)
9 (flakeRoot + /users/encode42/desktop/environments/gnome.nix)
10
11 (flakeRoot + /config/desktop/gnome/localsend.nix)
12
13 (flakeRoot + /config/desktop/yubikey.nix)
14
15 (flakeRoot + /config/desktop/obs.nix)
16 (flakeRoot + /config/desktop/steam.nix)
17 ];
18
19 services.displayManager.autoLogin = {
20 enable = true;
21 user = "encode42";
22 };
23
24 # Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
25 systemd.services."getty@tty1".enable = false;
26 systemd.services."autovt@tty1".enable = false;
27
28 home-manager.users.encode42 = {
29 imports = [
30 ../homes/encode42.nix
31 ];
32
33 home.stateVersion = "24.05";
34 };
35
36 users.users.encode42.extraGroups = [
37 "wheel"
38 "networkmanager"
39 "libvirtd"
40 "dialout"
41 ];
42}