Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-02-29 01:52:16 +02:00
parent 34eb4fed2d
commit a57e3ee98e
2 changed files with 7 additions and 3 deletions

View file

@ -85,9 +85,9 @@
}; };
hypnos = nixpkgs.lib.nixosSystem { hypnos = nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs = { inherit inputs; }; # specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/hypnos/configuration.nix ( import ./hosts/hypnos/configuration.nix inputs )
{ {
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath; environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
nix.nixPath = [ "nixpkgs=/etc/nix/inputs/nixpkgs" ]; nix.nixPath = [ "nixpkgs=/etc/nix/inputs/nixpkgs" ];

View file

@ -1,5 +1,5 @@
{ config, pkgs, lib, inputs, ... }: inputs: { config, pkgs, lib, ... }:
let let
user = "graphite"; user = "graphite";
@ -25,6 +25,10 @@
# "${nixosHardware}/raspberry-pi/4" # "${nixosHardware}/raspberry-pi/4"
./hardware-configuration.nix ./hardware-configuration.nix
"${inputs.nixos-hardware}/raspberry-pi/4" "${inputs.nixos-hardware}/raspberry-pi/4"
( import ./services/forge.nix inputs )
( import ./services/cloud.nix inputs )
( import ./services/vaultwarden.nix inputs )
( import ./services/matrix.nix inputs )
]; ];
boot.loader.grub.enable = false; boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true; boot.loader.generic-extlinux-compatible.enable = true;