mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Adds hydra job for nixbox system
This commit is contained in:
parent
9a916b62b8
commit
9d89fa5d82
5 changed files with 8 additions and 7 deletions
|
@ -17,5 +17,5 @@
|
|||
|
||||
sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus];
|
||||
|
||||
secrets = import ./secrets.nix;
|
||||
zerotier.networks = ["17d709436ca2929d"];
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
mkDarwin = arch: (mkSystem darwin.lib.darwinSystem "${arch}-darwin");
|
||||
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
in {
|
||||
in rec {
|
||||
overlays = {
|
||||
default = import ./packages;
|
||||
fenix = inputs.fenix.overlays.default;
|
||||
|
@ -105,6 +105,8 @@
|
|||
x86_64-linux.live-image = self.nixosConfigurations.x86_64-live.config.system.build.isoImage;
|
||||
aarch64-linux.live-image = self.nixosConfigurations.x86_64-live.config.system.build.isoImage;
|
||||
};
|
||||
|
||||
hydraJobs.x86_64-linux = packages.x86_64-linux;
|
||||
};
|
||||
|
||||
perSystem = {
|
||||
|
|
|
@ -13,7 +13,6 @@ in {
|
|||
../profiles/default.nix
|
||||
../users/willem/home/linux.nix
|
||||
../modules/zerotier.nix
|
||||
../modules/nordvpn.nix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||
|
@ -58,7 +57,7 @@ in {
|
|||
users.groups.torrent.gid = torrent_group_id;
|
||||
|
||||
services.transmission = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
|
||||
package = pkgs.transmission_4;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{globals, ...}: {
|
||||
services.zerotierone.enable = true;
|
||||
services.zerotierone.joinNetworks = ["17d709436ca2929d"];
|
||||
services.zerotierone.joinNetworks = globals.zerotier.networks;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
environment.systemPackages = [pkgs.parted];
|
||||
|
||||
services.zerotierone = {
|
||||
joinNetworks = globals.secrets.zerotier.networks;
|
||||
joinNetworks = globals.zerotier.networks;
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue