move modules to hosts/common
This commit is contained in:
parent
1a5d835d47
commit
6fe24f311f
25 changed files with 32 additions and 45 deletions
hosts
ame
arashi
common.nixcommon
README.mddefault.nixfonts.nixnix.nixopenssh.nixprometheus.nixsecurity.nixsops.nixsystem.nixtime.nixusers.nixvirtualisation.nix
haru
kariru
kaze
sakura
sora
tsuki
tsuru
yuki
modules
|
@ -3,9 +3,8 @@ _: {
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../../modules/fonts.nix
|
||||
../common
|
||||
../common/fonts.nix
|
||||
];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nur.modules.nixos.default
|
||||
# inputs.attic.nixosModules.atticd
|
||||
];
|
||||
}
|
17
hosts/common/default.nix
Normal file
17
hosts/common/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nur.modules.nixos.default
|
||||
inputs.nix-topology.nixosModules.default
|
||||
./prometheus.nix
|
||||
./security.nix
|
||||
./users.nix
|
||||
./nix.nix
|
||||
./system.nix
|
||||
./openssh.nix
|
||||
./virtualisation.nix
|
||||
./sops.nix
|
||||
./time.nix
|
||||
];
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
_: {
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
age.keyFile = "/home/notoh/.config/sops/age/keys.txt";
|
||||
};
|
||||
}
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -3,8 +3,7 @@ _: {
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -3,8 +3,7 @@ _: {
|
|||
./hardware.nix
|
||||
./networking.nix
|
||||
./services
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
services.snowflake-proxy.enable = true;
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
./services
|
||||
./networking.nix
|
||||
./gaming.nix
|
||||
../common.nix
|
||||
./topology.nix
|
||||
../common
|
||||
../common/fonts.nix
|
||||
../../home/wayland
|
||||
../../modules
|
||||
../../modules/fonts.nix
|
||||
];
|
||||
|
||||
virtualisation = {
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../common.nix
|
||||
../../modules
|
||||
../common
|
||||
];
|
||||
|
||||
users = {
|
||||
|
|
|
@ -2,7 +2,7 @@ _: {
|
|||
services.home-assistant.config = {
|
||||
lovelace.mode = "yaml";
|
||||
http = {
|
||||
server_host = "0.0.0.0";
|
||||
server_host = ["0.0.0.0"];
|
||||
server_port = 8123;
|
||||
};
|
||||
homeassistant = {
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
_: {
|
||||
imports = [
|
||||
./prometheus.nix
|
||||
./security.nix
|
||||
./users.nix
|
||||
./nix.nix
|
||||
./system.nix
|
||||
./openssh.nix
|
||||
./virtualisation.nix
|
||||
./sops.nix
|
||||
./time.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue