Just gonna forget any automation.

This commit is contained in:
lulusilly 2025-09-01 00:04:59 -04:00
parent d79523bc01
commit 91e0afc380

View file

@ -1,35 +1,3 @@
{
description = "System flake with automatic hostname detection";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# home-manager.url = "github:nix-community/home-manager";
# home-manager.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:danth/stylix";
stylix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... }@inputs: let
system = builtins.currentSystem;
hostname = builtins.getEnv "HOSTNAME";
in
{
nixosConfigurations = {
"${hostname}" = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
# ./common.nix
./${hostname}/configuration.nix
# ./${hostname}/hardware-configuration.nix
inputs.stylix.nixosModules.stylix
];
};
};
};
}
/*
{
description = "System flake";
inputs = {
@ -57,4 +25,3 @@
};
};
}
*/