mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
move syncthing to services
This commit is contained in:
parent
593268d6ba
commit
5e10a2c3c9
@ -31,6 +31,10 @@
|
|||||||
programs = {
|
programs = {
|
||||||
chezmoi.apply = true;
|
chezmoi.apply = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
};
|
||||||
|
services = {
|
||||||
|
samba-client.enable = true;
|
||||||
|
ssh.enable = true;
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyPath = ../../secrets/syncthing/bulwark/key.pem.age;
|
keyPath = ../../secrets/syncthing/bulwark/key.pem.age;
|
||||||
@ -40,9 +44,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
|
||||||
samba-client.enable = true;
|
|
||||||
ssh.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,10 @@
|
|||||||
chezmoi.apply = true;
|
chezmoi.apply = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
|
};
|
||||||
|
services = {
|
||||||
|
samba-client.enable = true;
|
||||||
|
ssh.enable = true;
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyPath = ../../secrets/syncthing/kestrel/key.pem.age;
|
keyPath = ../../secrets/syncthing/kestrel/key.pem.age;
|
||||||
@ -62,9 +66,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
|
||||||
samba-client.enable = true;
|
|
||||||
ssh.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
./chezmoi.nix
|
./chezmoi.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./nvim.nix
|
./nvim.nix
|
||||||
./syncthing.nix
|
|
||||||
./virt-manager.nix
|
./virt-manager.nix
|
||||||
./yt-dlp.nix
|
./yt-dlp.nix
|
||||||
];
|
];
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./samba-client.nix
|
./samba-client.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
let cfg = config.modules.programs.syncthing;
|
let cfg = config.modules.services.syncthing;
|
||||||
in {
|
in {
|
||||||
options.modules.programs.syncthing = with lib; {
|
options.modules.services.syncthing = with lib; {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
Loading…
x
Reference in New Issue
Block a user