ref: nix conf

This commit is contained in:
Léana 江 2023-12-24 12:23:07 +01:00 committed by Léana 江
parent d61b6a5327
commit 6ca3ba9e9f
3 changed files with 58 additions and 61 deletions

View file

@ -12,15 +12,15 @@
nixunstable,
home-manager,
...
} @ inputs: let
inherit (nixpkgs.lib) nixosSystem;
}: let
inherit (nixpkgs) lib;
in {
nixosConfigurations = {
thinkpad = let
system = "aarch64-linux";
unstable = import nixunstable {inherit system;};
in
nixosSystem {
lib.nixosSystem {
specialArgs = {inherit system;};
modules = [
./hosts/thinkpad/configuration.nix
@ -29,7 +29,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.leana = import ./hosts/thinkpad/home.nix;
users.leana = import ./home;
extraSpecialArgs = {inherit unstable;};
};
}