init
This commit is contained in:
14
profiles/gaea/default.nix
Normal file
14
profiles/gaea/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
args@{ libs, inputs, ... }:
|
||||
let
|
||||
# 这里可以选择使用稳定版或不稳定版的nixpkgs
|
||||
# nixpkgs = inputs.nixpkgs;
|
||||
nixpkgs = inputs.nixpkgs-unstable; # 如果需要使用unstable版本,取消这行注释并注释上一行
|
||||
home-manager = inputs.home-manager-unstable;
|
||||
sysArgs = args // { inherit home-manager; };
|
||||
in
|
||||
# 使用libs.mkNixosSystem创建nixosSystem
|
||||
libs.mkNixosSystem {
|
||||
inherit nixpkgs;
|
||||
args = sysArgs;
|
||||
path = ./.;
|
||||
}
|
||||
Reference in New Issue
Block a user