cleanup flake
This commit is contained in:
parent
9ff2bd4e96
commit
51d6111302
1 changed files with 16 additions and 8 deletions
24
flake.nix
24
flake.nix
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
description = "NixOS Configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
@ -19,22 +21,28 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, impermanence, lanzaboote }@inputs: {
|
||||
nixosConfigurations = {
|
||||
Skipper = nixpkgs.lib.nixosSystem rec {
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
impermanence,
|
||||
lanzaboote,
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
lib = nixpkgs.lib;
|
||||
in {
|
||||
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
|
||||
nixosConfigurations = {
|
||||
Skipper = lib.nixosSystem {
|
||||
specialArgs = inputs;
|
||||
modules = [
|
||||
./system/nix.nix
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(import ./packages) # Overlay adding all custom packages
|
||||
];
|
||||
nixpkgs.overlays = [(import ./packages)];
|
||||
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
|
||||
}
|
||||
|
||||
{ system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev; }
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
impermanence.nixosModules.impermanence
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
|
|
Loading…
Reference in a new issue