Compare commits

...

2 commits

4 changed files with 14 additions and 3 deletions

View file

@ -75,8 +75,8 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alex = import ./home/alex/cli.nix;
}
{ home-manager.users.alex = ./hosts/thrall/alex.nix; }
];
};

View file

@ -50,6 +50,8 @@
news.display = "silent";
my.git-sync.enable = true;
programs = {
alacritty.enable = true;
# autorandr.enable = true;

View file

@ -1,7 +1,9 @@
{ config, lib, pkgs, ... }:
let cfg = config.my.git-sync;
in {
options.my.git-sync = { enable = lib.mkEnableOption "git-sync"; };
{
config.services.git-sync = {
config.services.git-sync = lib.mkIf cfg.enable {
enable = true;
repositories = {
"org" = {

7
hosts/thrall/alex.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [ ../../home/alex/cli.nix ../../home/alex/services/git-sync ];
config.my.git-sync.enable = true;
}