Install direnv
This commit is contained in:
parent
6d0c74ab7f
commit
964fbe8baf
@ -1 +0,0 @@
|
||||
((nil . ((projectile-project-compilation-cmd . "./install"))))
|
@ -56,6 +56,7 @@
|
||||
idris-mode
|
||||
lsp-mode
|
||||
org-caldav
|
||||
envrc
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -86,8 +86,6 @@
|
||||
(use-package hasklig-mode
|
||||
:hook (haskell-mode))
|
||||
|
||||
|
||||
|
||||
(use-package company-ghci
|
||||
:config
|
||||
(push 'company-ghci company-backends))
|
||||
@ -238,3 +236,7 @@ If point was already at that position, move point to beginning of line."
|
||||
(setq org-icalendar-timezone "Europe/Moscow")
|
||||
)
|
||||
;;; init.el ends here
|
||||
|
||||
(use-package envrc
|
||||
:config
|
||||
(envrc-global-mode))
|
||||
|
@ -20,6 +20,10 @@
|
||||
dbPath = ../../misc/programs.sqlite;
|
||||
};
|
||||
systemd.user.startServices = true;
|
||||
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.enableNixDirenvIntegration = true;
|
||||
};
|
||||
|
||||
|
||||
|
@ -9,29 +9,29 @@ let
|
||||
};
|
||||
inherit (import ../../support.nix { inherit lib config; }) genIni;
|
||||
daemons = names:
|
||||
builtins.listToAttrs (builtins.map (name:
|
||||
{
|
||||
name = "simple-osd-${name}";
|
||||
value = simple-osd-daemon name;
|
||||
}) names);
|
||||
builtins.listToAttrs (builtins.map (name: {
|
||||
name = "simple-osd-${name}";
|
||||
value = simple-osd-daemon name;
|
||||
}) names);
|
||||
in {
|
||||
home-manager.users.balsoft = {
|
||||
systemd.user.services =
|
||||
daemons [ "pulseaudio" "mpris" ]
|
||||
systemd.user.services = daemons [ "pulseaudio" "mpris" ]
|
||||
// pkgs.lib.optionalAttrs (config.deviceSpecific.isLaptop)
|
||||
(daemons [ "battery" "brightness" ]);
|
||||
xdg.configFile."simple-osd/common".text = genIni {
|
||||
progressbar.length = 25;
|
||||
};
|
||||
xdg.configFile."simple-osd/battery".text = lib.mkIf (config.deviceSpecific.isLaptop) (genIni {
|
||||
default = {
|
||||
"refresh interval" = 1;
|
||||
"show battery charge" = true;
|
||||
};
|
||||
threshold = {
|
||||
low = "20%";
|
||||
critical = "10%";
|
||||
};
|
||||
});
|
||||
xdg.configFile."simple-osd/common".text =
|
||||
genIni { progressbar.length = 25; };
|
||||
xdg.configFile."simple-osd/battery" =
|
||||
lib.mkIf (config.deviceSpecific.isLaptop) ({
|
||||
text = genIni {
|
||||
default = {
|
||||
"refresh interval" = 1;
|
||||
"show battery charge" = true;
|
||||
};
|
||||
threshold = {
|
||||
low = "20%";
|
||||
critical = "10%";
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user