mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 21:31:54 -05:00
hosts: add secrets.nix
This commit is contained in:
parent
a281c7255b
commit
d0e5ae23a3
|
@ -8,14 +8,10 @@
|
||||||
../common
|
../common
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./secrets.nix
|
||||||
self.inputs.nixhw.nixosModules.framework-13-intel-11th
|
self.inputs.nixhw.nixosModules.framework-13-intel-11th
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/fallarbor/cert.age;
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/fallarbor/key.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
6
hosts/fallarbor/secrets.nix
Normal file
6
hosts/fallarbor/secrets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/syncthing/fallarbor/cert.age;
|
||||||
|
syncthingKey.file = ../../secrets/syncthing/fallarbor/key.age;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,14 +8,10 @@
|
||||||
../common
|
../common
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./secrets.nix
|
||||||
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
self.inputs.nixhw.nixosModules.framework-13-amd-7000
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/lavaridge/cert.age;
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/lavaridge/key.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
6
hosts/lavaridge/secrets.nix
Normal file
6
hosts/lavaridge/secrets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/syncthing/lavaridge/cert.age;
|
||||||
|
syncthingKey.file = ../../secrets/syncthing/lavaridge/key.age;
|
||||||
|
};
|
||||||
|
}
|
|
@ -14,6 +14,7 @@ in {
|
||||||
../common
|
../common
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./secrets.nix
|
||||||
self.inputs.nixhw.nixosModules.common-amd-cpu
|
self.inputs.nixhw.nixosModules.common-amd-cpu
|
||||||
self.inputs.nixhw.nixosModules.common-amd-gpu
|
self.inputs.nixhw.nixosModules.common-amd-gpu
|
||||||
self.inputs.nixhw.nixosModules.common-bluetooth
|
self.inputs.nixhw.nixosModules.common-bluetooth
|
||||||
|
@ -21,35 +22,6 @@ in {
|
||||||
self.inputs.raffauflabs.nixosModules.raffauflabs
|
self.inputs.raffauflabs.nixosModules.raffauflabs
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
|
||||||
cloudflare.file = ../../secrets/cloudflare.age;
|
|
||||||
|
|
||||||
lastfmId = {
|
|
||||||
owner = "navidrome";
|
|
||||||
file = ../../secrets/lastFM/apiKey.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
lastfmSecret = {
|
|
||||||
owner = "navidrome";
|
|
||||||
file = ../../secrets/lastFM/secret.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
spotifyId = {
|
|
||||||
owner = "navidrome";
|
|
||||||
file = ../../secrets/spotify/clientId.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
spotifySecret = {
|
|
||||||
owner = "navidrome";
|
|
||||||
file = ../../secrets/spotify/clientSecret.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/mauville/cert.age;
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/mauville/key.age;
|
|
||||||
|
|
||||||
transmission.file = ../../secrets/transmission.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "r8169"];
|
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "r8169"];
|
||||||
|
|
29
hosts/mauville/secrets.nix
Normal file
29
hosts/mauville/secrets.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
cloudflare.file = ../../secrets/cloudflare.age;
|
||||||
|
|
||||||
|
lastfmId = {
|
||||||
|
owner = "navidrome";
|
||||||
|
file = ../../secrets/lastFM/apiKey.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
lastfmSecret = {
|
||||||
|
owner = "navidrome";
|
||||||
|
file = ../../secrets/lastFM/secret.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
spotifyId = {
|
||||||
|
owner = "navidrome";
|
||||||
|
file = ../../secrets/spotify/clientId.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
spotifySecret = {
|
||||||
|
owner = "navidrome";
|
||||||
|
file = ../../secrets/spotify/clientSecret.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
syncthingCert.file = ../../secrets/syncthing/mauville/cert.age;
|
||||||
|
syncthingKey.file = ../../secrets/syncthing/mauville/key.age;
|
||||||
|
transmission.file = ../../secrets/transmission.age;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,8 +1,6 @@
|
||||||
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
|
# Lenovo Yoga 9i Convertible with Intel Core i7-1360P, 16GB RAM, 512GB SSD.
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -10,14 +8,10 @@
|
||||||
../common
|
../common
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./secrets.nix
|
||||||
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/petalburg/cert.age;
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/petalburg/key.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
6
hosts/petalburg/secrets.nix
Normal file
6
hosts/petalburg/secrets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/syncthing/petalburg/cert.age;
|
||||||
|
syncthingKey.file = ../../secrets/syncthing/petalburg/key.age;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,14 +8,10 @@
|
||||||
../common
|
../common
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./secrets.nix
|
||||||
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
self.inputs.nixhw.nixosModules.thinkpad-t440p
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
|
||||||
syncthingCert.file = ../../secrets/syncthing/rustboro/cert.age;
|
|
||||||
syncthingKey.file = ../../secrets/syncthing/rustboro/key.age;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
6
hosts/rustboro/secrets.nix
Normal file
6
hosts/rustboro/secrets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/syncthing/rustboro/cert.age;
|
||||||
|
syncthingKey.file = ../../secrets/syncthing/rustboro/key.age;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue