alejandra formatting ftw

This commit is contained in:
TheWanderingCrow 2024-11-29 10:42:59 -05:00
parent ab483276f1
commit 5e29a554ea
22 changed files with 738 additions and 651 deletions

View file

@ -1,25 +1,30 @@
{ pkgs, lib, config, ...}: {
config.users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = [ "wheel" "networkmanager" "audio" "plugdev" ];
};
{
pkgs,
lib,
config,
...
}: {
config.users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev"];
};
config.systemd.services.note_sync = {
enable = true;
description = "Auto sync notes to remote";
serviceConfig = {
User = "crow";
Type = "oneshot";
};
path = [
"/run/current-system/sw"
];
startAt = [
"*:0/5"
];
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit diff-index --quiet HEAD || git commit -am 'automatic backup'\ngit push";
config.systemd.services.note_sync = {
enable = true;
description = "Auto sync notes to remote";
serviceConfig = {
User = "crow";
Type = "oneshot";
};
path = [
"/run/current-system/sw"
];
startAt = [
"*:0/5"
];
script = "cd /home/crow/Notes\ngit pull\ngit add .\ngit diff-index --quiet HEAD || git commit -am 'automatic backup'\ngit push";
};
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
}