move machine specific files to their own directory
All checks were successful
/ build-all (push) Successful in 1m37s

This commit is contained in:
ant 2025-09-01 22:42:42 +02:00
parent 09b1feb204
commit 5125e78b36
5 changed files with 9 additions and 9 deletions

View file

@ -93,14 +93,14 @@
nixosConfigurations.basado = nixpkgs.lib.nixosSystem { nixosConfigurations.basado = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./os/configuration.nix ./os/basado/configuration.nix
]; ];
}; };
nixosConfigurations.moon = nixpkgs.lib.nixosSystem { nixosConfigurations.moon = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./os/moon.nix ./os/moon/configuration.nix
]; ];
}; };

View file

@ -1,14 +1,14 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let sshKeys = with (import ../sshKeys.nix); [ let sshKeys = with (import ../../sshKeys.nix); [
moon moon
]; ];
in in
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./common.nix ../common.nix
./common-graphics.nix ../common-graphics.nix
(import ./remote-disk-unlock.nix sshKeys) (import ../remote-disk-unlock.nix sshKeys)
]; ];
boot.loader = { boot.loader = {

View file

@ -1,9 +1,9 @@
{ config, pkgs, pkgs-unstable, ... }: { config, pkgs, pkgs-unstable, ... }:
{ {
imports = [ # Include the results of the hardware scan. imports = [ # Include the results of the hardware scan.
./moon-hardware-configuration.nix ./hardware-configuration.nix
./common.nix ../common.nix
./common-graphics.nix ../common-graphics.nix
]; ];
# Bootloader. # Bootloader.