54 lines
1.3 KiB
Nix
54 lines
1.3 KiB
Nix
{
|
|
description = ":3";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
stable-nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
};
|
|
|
|
outputs = {
|
|
nixpkgs,
|
|
stable-nixpkgs,
|
|
home-manager,
|
|
nixos-hardware,
|
|
catppuccin,
|
|
...
|
|
} @ inputs: let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations = {
|
|
framework = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
|
|
pkgs-stable = import stable-nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
modules = [
|
|
./configuration.nix
|
|
nixos-hardware.nixosModules.framework-13th-gen-intel
|
|
catppuccin.nixosModules.catppuccin
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.users.toaster = {
|
|
imports = [
|
|
./home.nix
|
|
catppuccin.homeModules.catppuccin
|
|
];
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|