mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-06 05:59:31 +01:00
nix: Simplify
This commit is contained in:
parent
43a07cc8d9
commit
e268781e8e
16
flake.nix
16
flake.nix
@ -1,18 +1,6 @@
|
|||||||
{
|
{
|
||||||
outputs =
|
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, crystal-flake, ... } @ attrs:
|
||||||
{ self
|
let VARIABLES = import ./src/variables.nix; in {
|
||||||
, 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;
|
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".alejandra;
|
||||||
|
|
||||||
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
||||||
|
Loading…
Reference in New Issue
Block a user