2023-11-05 04:53:31 -03:00
|
|
|
{
|
|
|
|
description = "NixOS System Flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-08-21 18:50:52 -03:00
|
|
|
# FIXME: Use nixos-unstable when https://nixpk.gs/pr-tracker.html?pr=335559 lands
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
2023-11-05 04:53:31 -03:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-07-16 00:43:51 -03:00
|
|
|
|
2024-07-17 11:35:44 -03:00
|
|
|
spicetify-nix = {
|
|
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-01 10:53:55 -03:00
|
|
|
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
2024-08-16 09:02:44 -03:00
|
|
|
|
|
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
2023-11-05 04:53:31 -03:00
|
|
|
};
|
|
|
|
|
2024-06-24 03:20:30 -03:00
|
|
|
outputs =
|
2024-07-22 13:49:55 -03:00
|
|
|
{ home-manager, nixpkgs, ... }@inputs:
|
2024-06-24 03:20:30 -03:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
2024-07-11 04:53:41 -03:00
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-06-24 03:20:30 -03:00
|
|
|
in
|
|
|
|
{
|
2024-08-01 10:53:55 -03:00
|
|
|
nixosConfigurations.wizdesk =
|
2024-04-11 20:02:59 -03:00
|
|
|
let
|
|
|
|
specialArgs = inputs;
|
2024-07-22 13:49:55 -03:00
|
|
|
modules = [ ./nixos.nix ];
|
2024-04-11 20:02:59 -03:00
|
|
|
in
|
|
|
|
nixpkgs.lib.nixosSystem { inherit system specialArgs modules; };
|
|
|
|
|
2024-07-11 04:53:41 -03:00
|
|
|
homeConfigurations.wizardlink = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
|
|
|
|
extraSpecialArgs = inputs;
|
2024-07-22 13:49:55 -03:00
|
|
|
modules = [ ./home-manager.nix ];
|
2024-07-11 04:53:41 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
formatter."${system}" = pkgs.nixfmt-rfc-style;
|
2024-01-16 11:33:01 -03:00
|
|
|
};
|
2023-11-05 04:53:31 -03:00
|
|
|
}
|