2026-02-22 19:54:17 +00:00
|
|
|
{
|
|
|
|
|
description = "Stationette nix config";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2026-02-24 23:27:24 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
2026-02-22 19:54:17 +00:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
firefox-addons = {
|
|
|
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
nixpkgs-unstable,
|
|
|
|
|
home-manager,
|
|
|
|
|
...
|
|
|
|
|
} @ inputs: let
|
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
# Supported systems for your flake packages, shell, etc.
|
|
|
|
|
# "aarch64-linux"
|
|
|
|
|
# "i686-linux"
|
|
|
|
|
# "x86_64-linux"
|
|
|
|
|
# "aarch64-darwin"
|
|
|
|
|
# "x86_64-darwin"
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
|
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
|
|
|
|
in {
|
|
|
|
|
# NixOS configuration entrypoint
|
|
|
|
|
# Available through 'nixos-rebuild --flake .#stationette'
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
stationette = nixpkgs.lib.nixosSystem {
|
|
|
|
|
modules = [
|
|
|
|
|
./system/configuration.nix
|
2026-02-25 00:25:09 +00:00
|
|
|
#home-manager.nixosModules.home-manager {
|
|
|
|
|
# home-manager.users.chris = import ./home;
|
|
|
|
|
# home-manager.extraSpecialArgs = {
|
|
|
|
|
# inherit pkgs-unstable;
|
|
|
|
|
# inherit inputs;
|
|
|
|
|
# };
|
|
|
|
|
#}
|
2026-02-22 19:54:17 +00:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Standalone home-manager configuration entrypoint
|
|
|
|
|
homeConfigurations = {
|
|
|
|
|
chris = home-manager.lib.homeManagerConfiguration {
|
|
|
|
|
inherit pkgs;
|
|
|
|
|
extraSpecialArgs = {
|
|
|
|
|
inherit pkgs-unstable;
|
|
|
|
|
inherit inputs;
|
|
|
|
|
};
|
|
|
|
|
modules = [
|
|
|
|
|
./home
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|