added gitwatch.nix
This commit is contained in:
parent
7a8bbb4a69
commit
894ef4718a
3 changed files with 32 additions and 5 deletions
14
flake.nix
14
flake.nix
|
|
@ -89,6 +89,9 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## Autogittage :3 - https://github.com/gitwatch/gitwatch
|
||||||
|
gitwatch = { url = "github:gitwatch/gitwatch"; };
|
||||||
|
|
||||||
## Musnix - https://github.com/musnix/musnix
|
## Musnix - https://github.com/musnix/musnix
|
||||||
musnix = { url = "github:musnix/musnix"; };
|
musnix = { url = "github:musnix/musnix"; };
|
||||||
|
|
||||||
|
|
@ -107,12 +110,13 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Easy themeing <3
|
## Easy themeing <3 - switch theme-engine?
|
||||||
nix-colors.url = "github:misterio77/nix-colors";
|
nix-colors = { url = "github:misterio77/nix-colors"; };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators,
|
outputs = { self, nixpkgs, disko, sops-nix, musnix, gitwatch, nixos-generators
|
||||||
|
,
|
||||||
## Disabled outputs - part of 'flakeification': enable and use correctly.
|
## Disabled outputs - part of 'flakeification': enable and use correctly.
|
||||||
#lix, lix-module, flake-utils, flake-parts,
|
#lix, lix-module, flake-utils, flake-parts,
|
||||||
#nix-colors, home-manager, nixvim,
|
#nix-colors, home-manager, nixvim,
|
||||||
|
|
@ -145,6 +149,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
musnix.nixosModules.musnix
|
musnix.nixosModules.musnix
|
||||||
|
gitwatch.gitwatch.modules
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
./hosts/iso
|
./hosts/iso
|
||||||
];
|
];
|
||||||
|
|
@ -164,6 +169,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
musnix.nixosModules.musnix
|
musnix.nixosModules.musnix
|
||||||
|
gitwatch.gitwatch.modules
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
./hosts/hades
|
./hosts/hades
|
||||||
];
|
];
|
||||||
|
|
@ -178,6 +184,7 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
gitwatch.gitwatch.modules
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
./hosts/orcus
|
./hosts/orcus
|
||||||
];
|
];
|
||||||
|
|
@ -193,6 +200,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
musnix.nixosModules.musnix
|
musnix.nixosModules.musnix
|
||||||
|
gitwatch.gitwatch.modules
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
./hosts/persephone
|
./hosts/persephone
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,8 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
#./lazygit.nix
|
|
||||||
#./gitsync.nix
|
|
||||||
./git.nix
|
./git.nix
|
||||||
|
./gitwatch.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
20
home/programs/git/gitwatch.nix
Normal file
20
home/programs/git/gitwatch.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# https://github.com/gitwatch/gitwatch
|
||||||
|
{ primaryUser, homeDir, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
services.gitwatch.Keyring = {
|
||||||
|
enable = false;
|
||||||
|
user = "${primaryUser}";
|
||||||
|
path = "${homeDir}/Keyring/";
|
||||||
|
remote = "git@codeberg.org:serenity-F/keyring.git";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gitwatch.Notes = {
|
||||||
|
enable = false;
|
||||||
|
user = "${primaryUser}";
|
||||||
|
path = "${homeDir}/Notes/";
|
||||||
|
remote = "git@codeberg.org:serenity-F/notes.git";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue