Revert flake.nix until it's properly investigated.

This commit is contained in:
LemmyCook
2025-09-19 14:02:13 -04:00
parent 590708da57
commit b960441321
+2 -19
View File
@@ -13,10 +13,8 @@
};
outputs = { self, nixpkgs, systems, quickshell, ... }:
let
eachSystem = nixpkgs.lib.genAttrs (import systems);
let eachSystem = nixpkgs.lib.genAttrs (import systems);
in {
# formatter for `nix fmt`
formatter =
eachSystem (system: nixpkgs.legacyPackages.${system}.alejandra);
@@ -44,7 +42,7 @@
networkmanager
wlsunset
wl-clipboard
] ++ pkgs.lib.optionals (pkgs.stdenv.hostPlatform.isx86_64)
] ++ lib.optionals (pkgs.stdenv.hostPlatform.isx86_64)
[ gpu-screen-recorder ];
fontconfig = pkgs.makeFontsConf {
@@ -81,21 +79,6 @@
};
});
# convenience defaultPackage for each system
defaultPackage = eachSystem (system: self.packages.${system}.default);
nixosModules = {
noctalia = { pkgs, lib, ... }: {
environment.systemPackages = [
self.packages.${pkgs.system}.default
];
# Required services for proper functionality
services.power-profiles-daemon.enable = true; # Power profile switching support
services.upower.enable = true; # Battery monitoring & power management
};
# add an alias so consumers can do `noctalia.nixosModules.default`
default = self.nixosModules.noctalia;
};
};
}