diff --git a/base/gui-programs.nix b/base/gui-programs.nix index f98fedf..62b386c 100644 --- a/base/gui-programs.nix +++ b/base/gui-programs.nix @@ -3,17 +3,23 @@ environment.systemPackages = with pkgs; [ alacritty discord + emacsPgtkGcc feh firefox + flameshot pavucontrol slack spotify + sqlite # needed for org-roam zathura ]; + fonts.fonts = with pkgs; [ + input-fonts + emacs-all-the-icons-fonts + ]; + networking.networkmanager.enable = true; programs.nm-applet.enable = true; - - # NOTE: needed for home emacs configuration nixpkgs.config.input-fonts.acceptLicense = true; } diff --git a/home/default.nix b/home/default.nix index abf442e..c9a4a7e 100644 --- a/home/default.nix +++ b/home/default.nix @@ -2,7 +2,6 @@ { imports = [ ./emacs.nix - ./flameshot.nix ./x ]; diff --git a/home/emacs.nix b/home/emacs.nix index 5b1808e..7229282 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -5,16 +5,6 @@ }; config = lib.mkIf config.my.home.emacs.enable { - home.packages = with pkgs; [ - sqlite # needed by org-roam - - # fonts used by my config - input-fonts - emacs-all-the-icons-fonts - ]; - # make sure above fonts are discoverable - fonts.fontconfig.enable = true; - services.emacs = { enable = true; # generate emacsclient desktop file diff --git a/home/flameshot.nix b/home/flameshot.nix deleted file mode 100644 index 359fc8c..0000000 --- a/home/flameshot.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.my.home.flameshot; -in -{ - options.my.home.flameshot = with lib; { - enable = mkEnableOption "flameshot autolaunch"; - }; - - config.services.flameshot = lib.mkIf cfg.enable { - enable = true; - }; -} diff --git a/home/x/i3.nix b/home/x/i3.nix index 9a76351..2c47281 100644 --- a/home/x/i3.nix +++ b/home/x/i3.nix @@ -27,9 +27,8 @@ let in { config = lib.mkIf isEnabled { - my.home = { - flameshot.enable = true; - }; + # FIXME: enable flameshot when added + # my.home = {}; xsession.windowManager.i3 = { enable = true;