This commit is contained in:
LunarAkai 2025-03-15 15:33:20 +01:00
commit e2a28e46dd
2 changed files with 1 additions and 46 deletions

View file

@ -17,9 +17,7 @@
};
environment.systemPackages = with pkgs; [
cowsay
lolcat
];
system.stateVersion = "24.11"; # Did you read the comment?
system.stateVersion = "24.11";
}

View file

@ -1,43 +0,0 @@
{
inputs,
nixpkgs,
home-manager,
systems,
}: let
myLib = (import ./default.nix) {inherit inputs;};
outputs = inputs.self.outputs;
in rec {
# copied from https://github.com/Misterio77/nix-config/blob/main/flake.nix
lib = nixpkgs.lib // home-manager.lib;
forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system});
pkgsFor = lib.genAttrs (import systems) (
system:
import nixpkgs {
inherit system;
config.allowUnfree = true;
}
);
mkSystem = config:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs myLib;
};
modules = [
config
outputs.nixosModules.default
];
};
mkHome = sys: config:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = pkgsFor sys;
extraSpecialArgs = {
inherit inputs myLib outputs;
};
modules = [
config
outputs.homeManagerModules.default
];
};
}