Compare commits
2 commits
244d2111af
...
d72c0d5926
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | d72c0d5926 | ||
Antoine Martin | f64b7b18d7 |
|
@ -3,23 +3,17 @@
|
|||
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;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./emacs.nix
|
||||
./flameshot.nix
|
||||
./x
|
||||
];
|
||||
|
||||
|
|
|
@ -5,6 +5,16 @@
|
|||
};
|
||||
|
||||
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
|
||||
|
|
13
home/flameshot.nix
Normal file
13
home/flameshot.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -27,8 +27,9 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf isEnabled {
|
||||
# FIXME: enable flameshot when added
|
||||
# my.home = {};
|
||||
my.home = {
|
||||
flameshot.enable = true;
|
||||
};
|
||||
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue