quintessence/flake.nix

39 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2026-02-12 15:00:24 -08:00
{
2026-02-12 15:28:13 -08:00
description = "quintessence, a nixos config for newer users, with KDE Plasma";
2026-02-12 15:00:24 -08:00
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";
2026-02-13 18:03:16 -08:00
# If you prefer nano, CHANGE THIS NOW! If you don't know what nano vs nvim is, change this to nano.
2026-02-12 15:00:24 -08:00
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}
];
};
};
}