whole flake: working flake-parts

This commit is contained in:
Charlie Root 2024-07-21 20:14:19 +02:00
commit ed864615e7
16 changed files with 350 additions and 283 deletions

View file

@ -1,10 +1,40 @@
{inputs, ...}: let
{
inputs,
withSystem,
...
}: let
inherit (inputs) self;
inherit (self) lib;
inherit (inputs.nixpkgs) lib;
mkSystem = {
withSystem,
system,
...
} @ args:
withSystem system (
{
inputs',
self',
...
}:
lib.nixosSystem {
inherit system;
specialArgs =
lib.recursiveUpdate
{
inherit lib;
inherit inputs inputs';
inherit self self';
inherit system;
}
(args.specialArgs or {});
inherit (args) modules;
}
);
in {
temperance = lib.nixosSystem rec {
temperance = mkSystem {
inherit withSystem;
system = "x86_64-linux";
specialArgs = {inherit lib inputs self system;};
modules = [
./vali/temperance
../modules
@ -13,6 +43,19 @@ in {
inputs.lix-module.nixosModules.default
];
};
# temperance =
# lib.nixosSystem rec {
# system = "x86_64-linux";
# specialArgs = {
# inherit lib;
# inherit
# inputs
# self
# system
# ;
# };
# });
hermit = lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {inherit lib inputs self system;};

View file

@ -51,7 +51,10 @@
usrEnv = {
desktops.hyprland.enable = true;
programs = {
launchers.anyrun.enable = false;
launchers = {
anyrun.enable = true;
rofi.enable = true;
};
media = {
beets.enable = true;
mpv.enable = true;
@ -106,9 +109,9 @@
};
theming = {
quickshell.enable = true;
gtk = {enable = false;};
gtk.enable = false;
qt = {
enable = true;
enable = false;
package = pkgs.kde-gruvbox;
name = "Gruvbox-Dark";
};