move modules to hosts/common

This commit is contained in:
notohh 2025-02-08 13:41:37 -05:00
parent 1a5d835d47
commit 6fe24f311f
Signed by: notohh
GPG key ID: BD47506D475EE86D
25 changed files with 32 additions and 45 deletions

View file

@ -3,9 +3,8 @@ _: {
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../../modules/fonts.nix
../common
../common/fonts.nix
];
programs.hyprland.enable = true;

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -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
View 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
];
}

View file

@ -1,6 +1,6 @@
_: {
sops = {
defaultSopsFile = ../secrets/secrets.yaml;
defaultSopsFile = ../../secrets/secrets.yaml;
age.keyFile = "/home/notoh/.config/sops/age/keys.txt";
};
}

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -3,8 +3,7 @@ _: {
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -3,8 +3,7 @@ _: {
./hardware.nix
./networking.nix
./services
../common.nix
../../modules
../common
];
services.snowflake-proxy.enable = true;

View file

@ -10,10 +10,10 @@
./services
./networking.nix
./gaming.nix
../common.nix
./topology.nix
../common
../common/fonts.nix
../../home/wayland
../../modules
../../modules/fonts.nix
];
virtualisation = {

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -3,8 +3,7 @@
./hardware.nix
./services
./networking.nix
../common.nix
../../modules
../common
];
users = {

View file

@ -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 = {

View file

@ -1,13 +0,0 @@
_: {
imports = [
./prometheus.nix
./security.nix
./users.nix
./nix.nix
./system.nix
./openssh.nix
./virtualisation.nix
./sops.nix
./time.nix
];
}