38 lines
1.3 KiB
Nix
38 lines
1.3 KiB
Nix
{
|
|
description = "quintessence, a nixos config for newer users, with KDE Plasma";
|
|
|
|
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! If you don't know what nano vs nvim is, change this to nano.
|
|
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}
|
|
];
|
|
};
|
|
};
|
|
}
|