1
0
forked from extern/nix-config

nix: Simplify

This commit is contained in:
Donovan Glover 2023-06-11 09:42:16 -04:00
parent 43a07cc8d9
commit e268781e8e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,18 +1,6 @@
{
outputs =
{ self
, nixpkgs
, home-manager
, hyprland
, stylix
, nix-gaming
, crystal-flake
, ...
} @ attrs:
let
VARIABLES = import ./src/variables.nix;
in
{
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, crystal-flake, ... } @ attrs:
let VARIABLES = import ./src/variables.nix; in {
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".alejandra;
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {