This commit is contained in:
iFargle 2024-01-30 20:46:32 +09:00
parent 43cbf98815
commit 3188e0395c

View file

@ -1,13 +1,14 @@
{ {
description = "NixOS System Config"; description = "NixOS System Config";
let { releaseVer = "23.11"; } in {
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-${releaseVer}"; nixpkgs.url = "nixpkgs/nixos-23.11";
# 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-${releaseVer}"; home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Nix colorizer / themer
stylix.url = "github:danth/stylix/release-23.11";
# lanzaboote - Secureboot Configuration # lanzaboote - Secureboot Configuration
lanzaboote.url = "github:nix-community/lanzaboote"; lanzaboote.url = "github:nix-community/lanzaboote";
lanzaboote.inputs.nixpkgs.follows = "nixpkgs"; lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
@ -39,8 +40,6 @@
# Manage Plasma desktop with Nix # Manage Plasma desktop with Nix
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
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
@ -53,8 +52,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 = "${releaseVer}"; stateVersion = "23.11";
hmStateVersion = "${releaseVer}"; hmStateVersion = "23.11";
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in { in {
nixosConfigurations = { nixosConfigurations = {
@ -103,4 +102,4 @@
in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; } in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; }
); );
}; };
};} }