Just gonna forget any automation.
This commit is contained in:
parent
d79523bc01
commit
91e0afc380
1 changed files with 0 additions and 33 deletions
|
|
@ -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 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue