forked from extern/nix-config
nix: Simplify
This commit is contained in:
parent
43a07cc8d9
commit
e268781e8e
16
flake.nix
16
flake.nix
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user