quintessence/flake.nix
2026-02-12 15:00:24 -08:00

38 lines
1.2 KiB
Nix

{
description = "Barebones version of Morgan Mayday's v1.0b config, for newer users";
inputs = {
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
};
};
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs:
let
variables = {
# Change these to yours!
username = "mayday";
hostname = "atlas";
email = "me@morganmay.day";
gitUsername = "morganmayday";
userDescription = "Morgan Mayday";
# If you prefer nano, CHANGE THIS NOW!
editor = "nvim";
# Find this for your laptop in https://github.com/NixOS/nixos-hardware/tree/master
# If you can't find your machine in the nixos-hardware repo, comment this out.
hardware = "framework-12-13th-gen-intel";
};
in
{
nixosConfigurations.${variables.hostname} = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs variables; };
modules = [
./configuration.nix
# If you can't find your machine in the nixos-hardware repo, comment this out.
nixos-hardware.nixosModules.${variables.hardware}
];
};
};
}