mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +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;
|
||||
};
|
||||
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"0 * * * * ${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive"
|
||||
];
|
||||
systemd.user.services.google-drive = {
|
||||
description = "Google Drive synchronisation service";
|
||||
wants = [ "network-online.target" ];
|
||||
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 = {
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
${pkgs.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) &
|
||||
${pkgs.dropbox-cli}/bin/dropbox start &
|
||||
${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
|
||||
'';
|
||||
displayManager.lightdm.greeters.gtk = {
|
||||
|
||||
@@ -43,6 +43,7 @@ in with pkgs;
|
||||
thunderbird
|
||||
w3m
|
||||
wget
|
||||
httpie
|
||||
whois
|
||||
] ++ [ # media
|
||||
ffmpeg
|
||||
@@ -113,7 +114,7 @@ in with pkgs;
|
||||
(executables haskellPackages.pandoc-citeproc)
|
||||
asciidoctor
|
||||
] ++ [ # programming
|
||||
cloc
|
||||
tokei
|
||||
gnumake
|
||||
cabal2nix
|
||||
chicken
|
||||
|
||||
@@ -17,7 +17,8 @@ in {
|
||||
terminal = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtc";
|
||||
browser = "${pkgs.chromium}/bin/chromium";
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user