Merge NixOS and home manager flakes

This commit is contained in:
2025-11-15 23:28:11 +01:00
parent bbaf22e871
commit 8ea508585b
8 changed files with 183 additions and 236 deletions

View File

@@ -1,9 +1,15 @@
{ pkgs, ... }:
{
inputs,
config,
pkgs,
...
}:
{
system.stateVersion = "25.05";
imports = [
inputs.home-manager.nixosModules.default
./hard.nix
../../modules/bootloader.nix
../../modules/disko.zfs-encrypted-root.nix
@@ -34,7 +40,11 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.h = ../../home/hosts/astyanax;
users.h = import ../../home/hosts/astyanax {
inherit inputs;
inherit config;
inherit pkgs;
};
};
networking.hostId = "80eef97e";

View File

@@ -1,9 +1,10 @@
{ ... }:
{ inputs, ... }:
{
system.stateVersion = "25.05";
imports = [
inputs.home-manager.nixosModules.default
./hard.nix
./disk.nix
../../modules/bootloader.nix