36 lines
970 B
Nix
36 lines
970 B
Nix
{
|
|
description = "Dedicated NixOS config for Morgan Mayday, v1.0b";
|
|
|
|
inputs = {
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
nixpkgs-stable.url = "nixpkgs/nixos-25.11";
|
|
oxide_timer = { # morrigan's timer
|
|
url = "path:./modules/oxide_timer";
|
|
flake = true;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs:
|
|
let
|
|
variables = {
|
|
username = "mayday";
|
|
hostname = "atlas";
|
|
hardware = "framework-12-13th-gen-intel";
|
|
email = "me@morganmay.day";
|
|
gitUsername = "morganmayday";
|
|
userDescription = "Morgan Mayday";
|
|
editor = "nvim";
|
|
};
|
|
in
|
|
{
|
|
nixosConfigurations.${variables.hostname} = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs variables; };
|
|
modules = [
|
|
./configuration.nix
|
|
nixos-hardware.nixosModules.${variables.hardware}
|
|
];
|
|
};
|
|
};
|
|
}
|