From 33d3f32ee168f49587ac76c37c0fd2f8976524a9 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 29 Sep 2026 02:46:59 +1000 Subject: [PATCH] tweak: flake.nix options --- flake.nix | 41 +++++++++++++---------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/flake.nix b/flake.nix index e8d4276..cf6d1a7 100755 --- a/flake.nix +++ b/flake.nix @@ -3,17 +3,20 @@ description = "SerenityOS"; # my 1 trillionth rewrite of my flake, hopefully more robust and easier to modify in future now - # rewriting using the 'dendritic' pattern using flake-parts and such, based on examples provided by: - # - # vimjoyer - # https://www.vimjoyer.com/nix/dendritic-home-manager - # - # v3rm1n - # https://codeberg.org/v3rm1n/dotfiles - # - # quantenzitrone - # https://codeberg.org/quantenzitrone/nixos-config + # rewriting using the 'dendritic' pattern using flake-parts and such. + # flake entry point + outputs = + inputs: + inputs.flake-parts.lib.mkFlake + + # pass inputs to modules + { inherit inputs; } + + # where to find modules? + (inputs.import-tree ./modules); + + # flake inputs inputs = { # nix hardware - https://github.com/NixOS/nixos-hardware @@ -30,9 +33,6 @@ flake-parts = { url = "github:hercules-ci/flake-parts"; }; - flake-utils = { - url = "github:numtide/flake-utils"; - }; import-tree = { url = "github:vic/import-tree"; }; @@ -53,10 +53,6 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - # repo-clone = { - # url = "https://git.zynh.me/Zynh0722/repo-clone"; - # }; - # easy theming - https://github.com/nix-community/stylix stylix = { url = "github:danth/stylix"; @@ -78,15 +74,4 @@ }; - # flake entry point - outputs = - inputs: - inputs.flake-parts.lib.mkFlake - - # pass inputs to modules - { inherit inputs; } - - # where to find modules? - (inputs.import-tree ./modules); - }