Initial commit of NixOS configuration

This commit is contained in:
2025-12-30 03:07:28 +00:00
commit 3272868b58
25 changed files with 779 additions and 0 deletions

45
flake.nix Normal file
View File

@@ -0,0 +1,45 @@
{
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";
};
outputs = {
nixpkgs,
stable-nixpkgs,
home-manager,
nixos-hardware,
...
} @ 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
home-manager.nixosModules.home-manager
{
home-manager.users.toaster = ./home.nix;
}
];
};
};
};
}