cleanup
This commit is contained in:
34
flake.nix
34
flake.nix
@@ -6,10 +6,10 @@
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
# nixpkgs-unstable-small
|
||||
nixpkgs-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
# nixpkgs-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
|
||||
# nixpgs
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
# nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
# Authentik
|
||||
authentik-nix.url = "github:nix-community/authentik-nix";
|
||||
@@ -48,16 +48,14 @@
|
||||
url = "github:lilyinstarlight/nixos-cosmic";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
git-hooks.url = "github:cachix/git-hooks.nix";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs-unstable,
|
||||
nixpkgs-unstable-small,
|
||||
nixpkgs-stable,
|
||||
# nixpkgs-unstable-small,
|
||||
# nixpkgs-stable,
|
||||
chaotic,
|
||||
lanzaboote,
|
||||
impermanence,
|
||||
@@ -68,16 +66,9 @@
|
||||
cosmic,
|
||||
authentik-nix,
|
||||
sops-nix,
|
||||
git-hooks,
|
||||
}@inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
supportedSystems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forAllSystems = nixpkgs-unstable.lib.genAttrs supportedSystems;
|
||||
in
|
||||
{
|
||||
overlays = import ./overlays { inherit inputs; };
|
||||
@@ -139,7 +130,6 @@
|
||||
nixos-hardware.nixosModules.common-pc
|
||||
nixos-hardware.nixosModules.common-cpu-amd
|
||||
nixos-hardware.nixosModules.common-hidpi
|
||||
# nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
];
|
||||
};
|
||||
|
||||
@@ -195,21 +185,5 @@
|
||||
|
||||
# Set Git commit hash for darwin-version.
|
||||
system.configurationRevision = self.rev or self.dirtyRev or null;
|
||||
|
||||
# checks = forAllSystems (system: {
|
||||
# pre-commit-check = git-hooks.lib.${system}.run {
|
||||
# src = ./.;
|
||||
# hooks = {
|
||||
# nixpkgs-fmt.enable = true;
|
||||
# };
|
||||
# };
|
||||
# });
|
||||
|
||||
# devShells = forAllSystems (system: {
|
||||
# default = nixpkgs-unstable.legacyPackages.${system}.mkShell {
|
||||
# inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||||
# buildInputs = self.checks.${system}.pre-commit-check.enabledPackages;
|
||||
# };
|
||||
# });
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user