This commit is contained in:
Zynh Ludwig 2025-01-09 18:21:47 -08:00
parent 96963d7489
commit 1484a137d9
3 changed files with 31 additions and 2 deletions

View file

@ -579,6 +579,26 @@
"type": "github" "type": "github"
} }
}, },
"nh": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1735816258,
"narHash": "sha256-7zBiXoC43piFocq0wHvNm5KgzolCi3axD4QhWfsw4DU=",
"owner": "viperML",
"repo": "nh",
"rev": "b7a857066e726dafe9c5f00a8af6ab3f25036ee1",
"type": "github"
},
"original": {
"owner": "viperML",
"repo": "nh",
"type": "github"
}
},
"niri": { "niri": {
"inputs": { "inputs": {
"niri-stable": "niri-stable", "niri-stable": "niri-stable",
@ -958,6 +978,7 @@
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"lix-module": "lix-module", "lix-module": "lix-module",
"neovim-overlay": "neovim-overlay", "neovim-overlay": "neovim-overlay",
"nh": "nh",
"niri": "niri", "niri": "niri",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",

View file

@ -12,6 +12,8 @@
niri = { url = "github:sodiboo/niri-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; niri = { url = "github:sodiboo/niri-flake"; inputs.nixpkgs.follows = "nixpkgs"; };
nix-gaming.url = "github:fufexan/nix-gaming"; nix-gaming.url = "github:fufexan/nix-gaming";
nh = { url = "github:viperML/nh"; inputs.nixpkgs.follows = "nixpkgs"; };
nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; };
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone"; repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";

View file

@ -1,11 +1,17 @@
{ pkgs, lib, self, ... }: { { pkgs, lib, self, inputs, ... }: {
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
environment.systemPackages = [ ]; environment.systemPackages = [
inputs.nh.packages.${pkgs.system}.default
];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.optimise.automatic = true; nix.optimise.automatic = true;
environment.variables = {
NH_FLAKE = "/Users/zynh/nixos";
};
environment.shells = with pkgs; [ bashInteractive zsh fish ]; environment.shells = with pkgs; [ bashInteractive zsh fish ];
# Auto upgrade nix package and the daemon service. # Auto upgrade nix package and the daemon service.