Files
nixos/flake.nix
2026-01-02 20:43:09 +01:00

35 lines
840 B
Nix

{
description = "nils NixOS Modular Config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
matugen = {
url = "github:InioX/Matugen";
inputs.nixpkgs.follows = "nixpkgs";
};
mac-style-plymouth = {
url = "github:SergioRibera/s4rchiso-plymouth-theme";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
let
username = "nils";
system = "x86_64-linux";
in {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs username; };
modules = [
./configuration.nix
inputs.home-manager.nixosModules.home-manager
];
};
};
}