idk preparing for work host?
This commit is contained in:
parent
8447e39b59
commit
b8acc694da
10
flake.nix
10
flake.nix
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue