/ hosts / deck / default.nix
default.nix
 1  { self, pkgs, config, lib, ... }:
 2  {
 3    imports = [
 4      ./configuration.nix
 5      ../users/anish
 6      ../profiles/core
 7      # ../profiles/bluetooth
 8      # ../profiles/music
 9      ../profiles/sync/cal
10      ../profiles/wifi
11      # ../profiles/desktop  # Disabled: conflicts with jovian desktop manager
12      ../profiles/mimetypes
13      ../profiles/syncthing
14      ../profiles/mossnet-hosts
15      # ../profiles/fly-wg
16      # ../profiles/mount-mossnet
17    ];
18  
19    # age.secrets.deck-wg.file = "${self}/secrets/deck-wg.age";
20    # age.secrets.deck-wg.owner = "deck";
21    # mossnet.wg = {
22    #   enable = true;
23    #   ips = [ "10.0.69.6/24" ];
24    #   privateKeyFile = "/run/agenix/deck-wg";
25    # };
26  
27    users.users.anish.extraGroups = [ "adbusers" "wheel" "plugdev" "libvertd" ];
28    # boot.plymouth = {
29    #   enable = true;
30    #   themePackages = [ pkgs.plymouth-themes ];
31    #   theme = "motion";
32    # };
33  
34    jovian.steam.enable = true;
35    jovian.devices.steamdeck.enable = true;
36    jovian.steam.user = "anish";
37    jovian.steam.autoStart = true;
38    jovian.steam.desktopSession = "gamescope-wayland";
39  
40    # Disable lightdm from desktop profile
41    services.xserver.displayManager.lightdm.enable = lib.mkForce false;
42  
43    # Install XR drivers
44    # environment.systemPackages = with pkgs; [
45    #   xrlinuxdriver
46    #   breezy-gnome
47    # ];
48  
49    # services.udev.packages = with pkgs; [
50    #   xrlinuxdriver
51    # ];
52  
53  }