mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Revert flake.nix until it's properly investigated.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user