This commit is contained in:
iFargle 2024-01-30 20:45:50 +09:00
parent b77e6a834e
commit 43cbf98815

View file

@ -1,11 +1,12 @@
{ {
description = "NixOS System Config"; description = "NixOS System Config";
let { releaseVer = "23.11"; } in {
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11"; nixpkgs.url = "nixpkgs/nixos-${releaseVer}";
# nixpkgs-wayland - Wayland-specific packages not in nixpkgs # nixpkgs-wayland - Wayland-specific packages not in nixpkgs
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland"; nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
# home-manager - Dotfile mnagement - add /master at the end to pull from master # home-manager - Dotfile mnagement - add /master at the end to pull from master
home-manager.url = "github:nix-community/home-manager/release-23.11"; home-manager.url = "github:nix-community/home-manager/release-${releaseVer}";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# lanzaboote - Secureboot Configuration # lanzaboote - Secureboot Configuration
lanzaboote.url = "github:nix-community/lanzaboote"; lanzaboote.url = "github:nix-community/lanzaboote";
@ -39,7 +40,7 @@
plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.url = "github:pjones/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
# Nix colorizer / themer # Nix colorizer / themer
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix/release-${releaseVer}";
# Hyprland Flake # Hyprland Flake
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
# Hyprland Plugins # Hyprland Plugins
@ -52,8 +53,8 @@
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs: outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs:
let let
inherit (self) outputs; inherit (self) outputs;
stateVersion = "23.11"; stateVersion = "${releaseVer}";
hmStateVersion = "23.11"; hmStateVersion = "${releaseVer}";
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in { in {
nixosConfigurations = { nixosConfigurations = {
@ -102,4 +103,4 @@
in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; } in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; }
); );
}; };
} };}