~ruther/nixos-config

fb4c57710b37d4c4c7053f209ec2b24090064dc0 — Frantisek Bohacek 1 year, 14 days ago f1797fd
feat: all services that should not start on Gnome do not start now
4 files changed, 25 insertions(+), 13 deletions(-)

M hosts/configuration.nix
M hosts/home.nix
M hosts/laptop-phobos/home.nix
M modules/services/dunst.nix
M hosts/configuration.nix => hosts/configuration.nix +0 -6
@@ 36,12 36,6 @@

  networking.networkmanager.enable = true;

  programs.nm-applet.enable = true;
  systemd.user.services.nm-applet = lib.mkIf config.programs.nm-applet.enable {
    wantedBy = lib.mkForce [ "qtile-services.target" ];
    partOf = lib.mkForce [ "qtile-services.target" ];
  };

  programs.command-not-found.enable = false;

  security.sudo.wheelNeedsPassword = true;

M hosts/home.nix => hosts/home.nix +8 -7
@@ 178,19 178,20 @@

  gtk = {                                     # Theming
    enable = true;
    # theme = {
    #   name = "Graphite-orange-Dark";
    #   package = pkgs.graphite-gtk-theme.override {
    #     themeVariants = ["orange"];
    #     colorVariants = ["dark"];
    #   };
    # };
    theme = {
      name = "Graphite-orange-Dark";
      package = pkgs.graphite-gtk-theme.override {
        themeVariants = ["orange"];
        colorVariants = ["dark"];
      };
    };
    iconTheme = {
      name = "Tela-circle-dark";
      package = pkgs.tela-circle-icon-theme;
    };
    font = {
      name = "FiraCode Nerd Font Mono Medium";
      size = 10;
    };                                        # Cursor is declared under home.pointerCursor
  };


M hosts/laptop-phobos/home.nix => hosts/laptop-phobos/home.nix +16 -0
@@ 31,6 31,22 @@
    ];
  };

  systemd.user.services.cbatticon = lib.mkIf config.services.cbatticon.enable {
    Unit = {
      After = lib.mkForce [];
      PartOf = lib.mkForce [ "qtile-services.target" ];
    };
    Install.WantedBy = lib.mkForce [ "qtile-services.target" ];
  };

  systemd.user.services.network-manager-applet = lib.mkIf config.services.network-manager-applet.enable {
    Unit = {
      After = lib.mkForce [];
      PartOf = lib.mkForce [ "qtile-services.target" ];
    };
    Install.WantedBy = lib.mkForce [ "qtile-services.target" ];
  };

  services = {                            # Applets
    network-manager-applet.enable = true; # Network
    cbatticon = {

M modules/services/dunst.nix => modules/services/dunst.nix +1 -0
@@ 13,6 13,7 @@ in
  systemd.user.services.dunst = lib.mkIf config.services.dunst.enable {
    Unit = {
      PartOf = lib.mkForce [ "qtile-services.target" ];
      After = lib.mkForce [];
    };
    Install = {
      WantedBy = lib.mkForce [ "qtile-services.target" ];

Do not follow this link