ctucx.git: nixfiles

ctucx' nixfiles

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 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
{ config, lib, pkgs, home-manager, ... }:

{

  imports = [
    ./gtk.nix
    ./qt.nix
  ];

  users.users.katja.extraGroups = [ "dialout" ];

  nixpkgs.config.allowUnfree = true;

  hardware.opengl = {
    enable        = true;
    driSupport    = true;
    extraPackages = with pkgs; [
      vaapiIntel
      vaapiVdpau
      libvdpau-va-gl
      intel-media-driver
    ];
  };

  programs = {
    dconf.enable = true;
  };

  services = {
    nscd.enable         = true;
    getty.autologinUser = "katja";
  };

  home-manager.users.katja = {
    manual.html.enable = true;
    services.gnome-keyring.enable = true;
  };

  ctucxConfig = {
    configure = {
      mobileDevice = false;
      fonts        = true;
      bluetooth    = true;
    };

    wm.sway.enable     = true;

    services = {
      swaylock.enable    = true;
      waybar.enable      = true;
      mako.enable        = true;
      wlsunset.enable    = true;

      pipewire.enable    = true;
      easyeffects.enable = true;

      syncthing.enable   = true;
    };

    programs = {
      ddcutil.enable       = true;
      alacritty.enable     = true;

      firefox.enable       = true;
      thunderbird.enable   = true;
      fractal.enable       = true;
      tuba.enable          = true;
      paper-plane.enable   = true;

      libreoffice.enable   = true;
      ausweisapp.enable    = true;

      thunar.enable        = true;
      zathura.enable       = true;
      imv.enable           = true;
      mpv.enable           = true;

      bitwarden-cli.enable = true;
    };
  };

}