update nix cli

This commit is contained in:
2025-06-02 11:49:33 +02:00
parent f47c09f5aa
commit 7127578fc7
4 changed files with 69 additions and 232 deletions

View File

@@ -1,8 +1,7 @@
{
description = "Home Manager configuration of root";
description = "nix base CLI env";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
@@ -10,20 +9,16 @@
};
};
outputs = { nixpkgs, home-manager, ... }:
outputs =
{ nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
in
{
homeConfigurations."root" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}