dotfiles/flake.nix

37 lines
970 B
Nix
Raw Permalink Normal View History

2025-08-13 13:27:02 -07:00
{
2026-01-11 10:00:19 -08:00
description = "Dedicated NixOS config for Morgan Mayday, v1.0b";
2025-08-13 13:27:02 -07:00
inputs = {
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
2025-08-23 10:49:20 -07:00
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/nixos-25.11";
oxide_timer = { # morrigan's timer
2025-08-23 10:49:20 -07:00
url = "path:./modules/oxide_timer";
flake = true;
};
2025-08-13 13:27:02 -07:00
};
2025-08-19 08:14:22 -07:00
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs:
let
variables = {
username = "mayday";
hostname = "atlas";
hardware = "framework-12-13th-gen-intel";
2025-09-22 10:06:48 -07:00
email = "me@morganmay.day";
2025-09-22 12:26:13 -07:00
gitUsername = "morganmayday";
userDescription = "Morgan Mayday";
editor = "nvim";
};
in
2025-08-13 13:27:02 -07:00
{
nixosConfigurations.${variables.hostname} = nixpkgs.lib.nixosSystem {
2025-08-19 07:53:57 -07:00
system = "x86_64-linux";
specialArgs = { inherit inputs variables; };
modules = [
./configuration.nix
nixos-hardware.nixosModules.${variables.hardware}
];
};
};
}