fix issue

This commit is contained in:
2025-04-20 12:00:36 +08:00
parent 22ef154a97
commit e027121d39

View File

@@ -1,12 +1,13 @@
# Configuration file init by: nix flake init -t github:misterio77/nix-starter-config#standard # Configuration file init by: nix flake init -t github:misterio77/nix-starter-config#standard
{ {
outputs = { self, sysversion, nixpkgs, nixpkgs-unstable, home-manager, home-manager-unstable, ... }@inputs: outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, home-manager-unstable, ... }@inputs:
let let
inherit (self) outputs; inherit (self) outputs;
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
username = "alex"; username = "alex";
useremail = "reizero@live.com"; useremail = "reizero@live.com";
hostname = "luna"; hostname = "luna";
sysversion = "24.11";
libs = import ./libs { inherit nixpkgs; }; libs = import ./libs { inherit nixpkgs; };
in in
rec { rec {
@@ -62,10 +63,8 @@
}; };
inputs = { inputs = {
sysversion = "24.11";
# Nixpkgs # Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-${sysversion}"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
# You can access packages and modules from different nixpkgs revs # You can access packages and modules from different nixpkgs revs
# at the same time. Here's an working example: # at the same time. Here's an working example:
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -76,7 +75,7 @@
# Home manager # Home manager
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-${sysversion}"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };