mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 09:46:34 +05:30
29 lines
759 B
Nix
29 lines
759 B
Nix
{
|
|
description = "tux's NixOS Flake";
|
|
|
|
nixConfig = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
astronvim.url = "github:AstroNvim/AstroNvim/v3.36.7";
|
|
astronvim.flake = false;
|
|
};
|
|
|
|
outputs = args@ { nixpkgs, nixpkgs-unstable, home-manager, astronvim, ... }:
|
|
let
|
|
username = "tux";
|
|
in
|
|
{
|
|
nixosConfigurations = (
|
|
import ./hosts {
|
|
inherit args username nixpkgs nixpkgs-unstable home-manager astronvim;
|
|
}
|
|
);
|
|
};
|
|
}
|