2026-02-22 19:54:17 +00:00
|
|
|
{
|
2026-02-25 23:58:47 +00:00
|
|
|
description = "Stationette nix config";
|
2026-02-22 19:54:17 +00:00
|
|
|
|
2026-02-25 23:58:47 +00:00
|
|
|
inputs = {
|
2026-08-15 21:21:16 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2026-08-17 21:08:56 +01:00
|
|
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-26.05";
|
2026-03-20 19:26:48 +00:00
|
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
2026-02-25 23:58:47 +00:00
|
|
|
disko.url = "github:nix-community/disko/latest";
|
2026-02-27 00:51:33 +00:00
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
2026-08-11 20:38:45 +01:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
2026-02-28 17:54:50 +00:00
|
|
|
home-manager = {
|
2026-08-15 21:21:16 +01:00
|
|
|
url = "github:nix-community/home-manager/master";
|
2026-02-28 17:54:50 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-02-27 00:51:33 +00:00
|
|
|
firefox-addons = {
|
|
|
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-06-29 21:48:38 +01:00
|
|
|
psysonic = {
|
|
|
|
|
url = "github:Psychotoxical/psysonic";
|
|
|
|
|
};
|
2026-03-08 00:25:11 +00:00
|
|
|
try-cli = {
|
|
|
|
|
url = "github:tobi/try-cli";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
elephant = {
|
|
|
|
|
url = "github:abenz1267/elephant";
|
|
|
|
|
};
|
2026-03-06 16:56:28 +00:00
|
|
|
walker = {
|
|
|
|
|
url = "github:abenz1267/walker";
|
|
|
|
|
inputs.elephant.follows = "elephant";
|
2026-03-08 00:25:11 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-02-22 19:54:17 +00:00
|
|
|
};
|
|
|
|
|
|
2026-02-25 23:58:47 +00:00
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
2026-08-17 21:02:43 +01:00
|
|
|
nixpkgs-stable,
|
2026-03-20 19:26:48 +00:00
|
|
|
nix-gaming,
|
2026-02-27 00:51:33 +00:00
|
|
|
impermanence,
|
2026-02-25 23:58:47 +00:00
|
|
|
disko,
|
2026-02-27 00:51:33 +00:00
|
|
|
home-manager,
|
2026-08-11 20:39:19 +01:00
|
|
|
nixos-hardware,
|
2026-03-08 21:00:47 +00:00
|
|
|
# hyprland-preview-share-picker,
|
2026-02-25 23:58:47 +00:00
|
|
|
...
|
|
|
|
|
} @ inputs: let
|
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
system = "x86_64-linux";
|
2026-03-15 17:04:38 +00:00
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
2026-08-17 21:02:43 +01:00
|
|
|
pkgs-stable = import nixpkgs-stable {
|
|
|
|
|
inherit system;
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
2026-03-20 19:26:48 +00:00
|
|
|
nix-gaming = inputs.nix-gaming.packages.${system};
|
2026-03-09 23:04:47 +00:00
|
|
|
|
|
|
|
|
mkHost = hostname: nixpkgs.lib.nixosSystem {
|
|
|
|
|
modules = [
|
2026-03-12 23:38:13 +00:00
|
|
|
./hardware
|
2026-03-09 23:04:47 +00:00
|
|
|
./system
|
2026-08-11 20:38:45 +01:00
|
|
|
nixos-hardware.nixosModules.framework-16-amd-ai-300-series
|
2026-03-09 23:04:47 +00:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
{
|
|
|
|
|
powerManagement.enable = true;
|
2026-07-01 20:30:05 +01:00
|
|
|
system.stateVersion = "26.05";
|
2026-03-09 23:04:47 +00:00
|
|
|
home-manager = {
|
|
|
|
|
users.chris = import ./home;
|
|
|
|
|
extraSpecialArgs = {
|
|
|
|
|
inherit inputs;
|
2026-08-17 21:02:43 +01:00
|
|
|
inherit pkgs-stable;
|
2026-03-09 23:04:47 +00:00
|
|
|
inherit impermanence;
|
|
|
|
|
inherit hostname;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
specialArgs = {
|
|
|
|
|
inherit inputs;
|
2026-08-17 21:02:43 +01:00
|
|
|
inherit pkgs-stable;
|
2026-03-09 23:04:47 +00:00
|
|
|
inherit impermanence;
|
|
|
|
|
inherit disko;
|
|
|
|
|
inherit hostname;
|
2026-03-20 19:26:48 +00:00
|
|
|
inherit nix-gaming;
|
2026-03-09 23:04:47 +00:00
|
|
|
};
|
|
|
|
|
};
|
2026-02-25 23:58:47 +00:00
|
|
|
in {
|
|
|
|
|
nixosConfigurations = {
|
2026-03-09 23:04:47 +00:00
|
|
|
stationette = mkHost "stationette";
|
|
|
|
|
station = mkHost "station";
|
2026-02-28 14:33:47 +00:00
|
|
|
};
|
2026-03-06 16:56:28 +00:00
|
|
|
|
|
|
|
|
# Standalone home-manager configuration entrypoint
|
2026-03-09 21:43:40 +00:00
|
|
|
homeConfigurations = {
|
|
|
|
|
chris = home-manager.lib.homeManagerConfiguration {
|
|
|
|
|
inherit pkgs;
|
|
|
|
|
extraSpecialArgs = {
|
|
|
|
|
inherit inputs;
|
2026-08-17 21:02:43 +01:00
|
|
|
inherit pkgs-stable;
|
2026-03-09 21:43:40 +00:00
|
|
|
inherit impermanence;
|
|
|
|
|
};
|
|
|
|
|
modules = [
|
|
|
|
|
./home
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-03-06 16:56:28 +00:00
|
|
|
};
|
2026-02-22 19:54:17 +00:00
|
|
|
}
|