idk preparing for work host?

This commit is contained in:
Anish L 2022-03-24 23:06:10 +10:00
parent 8447e39b59
commit b8acc694da
2 changed files with 13 additions and 11 deletions

View file

@ -104,13 +104,14 @@
hosts = {
/* set host specific properties here */
NixOS = { };
curve = {
curve = {
channelName = "nixos";
#modules = [ ]; # nixos-hardware.nixosModules.lenovo-thinkpad
# Yubikey
};
box = { };
hypercube = { };
work = { };
};
importables = rec {
profiles = digga.lib.rakeLeaves ./profiles // {
@ -120,9 +121,10 @@
base = [ core users.root nvim users.anish ]; # TODO make anish non gui
sealight = [ base ]; # matrix rsshub backup wireguard website
mossnet = [ base ]; # shaarli wallabag nextcloud taskwarrior headphones
graphical = [ base users.profiles.firefox users.profiles.desktop bluetooth music sync wireguard wifi ];
curve = [ graphical users.profiles.email users.profiles.cal];
work = [ base ];
home-manager = [ users.profiles.firefox users.profiles.desktop ];
graphical = [ base home-manager bluetooth music sync wireguard wifi ];
curve = [ graphical users.profiles.email users.profiles.cal ];
work = [ base home-manager ];
};
};
};

View file

@ -1,16 +1,16 @@
{pkgs, ...}:
{ pkgs, ... }:
{
systemd.services.kitaab-sync = {
serviceConfig.Type = "oneshot";
path = [
pkgs.git
];
pkgs.git
];
script = ''
cd /home/anish/vimwiki/
git commit -am "syncing curve"
git push
'';
${pkgs.coreutils}/bin/cd /home/anish/vimwiki/
${pkgs.git} commit -am "syncing curve"
${pkgs.git} push
'';
};
systemd.timers.kitaab-timer = {
wantedBy = [ "timers.target" ];