mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
small changes
+ google-drive timer ~ i3lock: light-locker + httpie ~ cloc: tokei
This commit is contained in:
17
config.nix
17
config.nix
@@ -58,11 +58,18 @@ in {
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cron = {
|
systemd.user.services.google-drive = {
|
||||||
enable = true;
|
description = "Google Drive synchronisation service";
|
||||||
systemCronJobs = [
|
wants = [ "network-online.target" ];
|
||||||
"0 * * * * ${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive"
|
script = ''
|
||||||
];
|
${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive
|
||||||
|
'';
|
||||||
|
serviceConfig.Restart = "on-failure";
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.timers.google-drive = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
timerConfig.OnUnitActiveSec = "5minutes";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
${pkgs.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) &
|
${pkgs.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) &
|
||||||
${pkgs.dropbox-cli}/bin/dropbox start &
|
${pkgs.dropbox-cli}/bin/dropbox start &
|
||||||
${pkgs.seafile-client}/bin/seafile-applet &
|
${pkgs.seafile-client}/bin/seafile-applet &
|
||||||
|
${pkgs.systemd}/bin/systemctl --user import-environment XDG_SESSION_PATH
|
||||||
|
${pkgs.lightlocker}/bin/light-locker
|
||||||
${pkgs.openssh}/bin/ssh-add
|
${pkgs.openssh}/bin/ssh-add
|
||||||
'';
|
'';
|
||||||
displayManager.lightdm.greeters.gtk = {
|
displayManager.lightdm.greeters.gtk = {
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ in with pkgs;
|
|||||||
thunderbird
|
thunderbird
|
||||||
w3m
|
w3m
|
||||||
wget
|
wget
|
||||||
|
httpie
|
||||||
whois
|
whois
|
||||||
] ++ [ # media
|
] ++ [ # media
|
||||||
ffmpeg
|
ffmpeg
|
||||||
@@ -113,7 +114,7 @@ in with pkgs;
|
|||||||
(executables haskellPackages.pandoc-citeproc)
|
(executables haskellPackages.pandoc-citeproc)
|
||||||
asciidoctor
|
asciidoctor
|
||||||
] ++ [ # programming
|
] ++ [ # programming
|
||||||
cloc
|
tokei
|
||||||
gnumake
|
gnumake
|
||||||
cabal2nix
|
cabal2nix
|
||||||
chicken
|
chicken
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ in {
|
|||||||
terminal = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtc";
|
terminal = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtc";
|
||||||
browser = "${pkgs.chromium}/bin/chromium";
|
browser = "${pkgs.chromium}/bin/chromium";
|
||||||
fileManager = "${terminal} -e ${pkgs.ranger}/bin/ranger";
|
fileManager = "${terminal} -e ${pkgs.ranger}/bin/ranger";
|
||||||
locker = "${pkgs.i3lock}/bin/i3lock -u -c ${strings.removePrefix "#" colorScheme.background}";
|
# locker = "${pkgs.i3lock}/bin/i3lock -u -c ${strings.removePrefix "#" colorScheme.background}";
|
||||||
|
locker = "${pkgs.lightlocker}/bin/light-locker-command -l";
|
||||||
};
|
};
|
||||||
|
|
||||||
options.constants = {
|
options.constants = {
|
||||||
|
|||||||
Reference in New Issue
Block a user