mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Switch to the nh nixpkgs package
This commit is contained in:
parent
9a4b64345d
commit
bf1c4dc513
7 changed files with 3 additions and 42 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -230,26 +230,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nh": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712645404,
|
||||
"narHash": "sha256-uEVd15WsX+Wti9PXW724puFcsFO72VTiJyBwW2WXT9M=",
|
||||
"owner": "viperML",
|
||||
"repo": "nh",
|
||||
"rev": "fe4a96a0b0b0662dba7c186b4a1746c70bbcad03",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "viperML",
|
||||
"repo": "nh",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -325,7 +305,6 @@
|
|||
"hypridle": "hypridle",
|
||||
"hyprland": "hyprland",
|
||||
"hyprlock": "hyprlock",
|
||||
"nh": "nh",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"sops-nix": "sops-nix"
|
||||
|
|
|
|||
|
|
@ -22,11 +22,6 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nh = {
|
||||
url = "github:viperML/nh";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
hyprlock = {
|
||||
|
|
|
|||
|
|
@ -25,10 +25,10 @@
|
|||
sops.enable = true;
|
||||
printing.enable = true;
|
||||
syncthing.enable = true;
|
||||
nix-helper.enable = true;
|
||||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
programs.nh.enable = true;
|
||||
programs.steam.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
sops.enable = true;
|
||||
printing.enable = true;
|
||||
syncthing.enable = true;
|
||||
nix-helper.enable = true;
|
||||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
programs.nh.enable = true;
|
||||
services.auto-cpufreq.enable = true;
|
||||
hardware.brillo.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,5 @@
|
|||
./boot-loader.nix
|
||||
./printing.nix
|
||||
./syncthing.nix
|
||||
./nix-helper.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.nh.nixosModules.default];
|
||||
|
||||
options.myConfig.nix-helper.enable = lib.mkEnableOption "";
|
||||
|
||||
config.nh.enable = config.myConfig.nix-helper.enable;
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
starship.enable = true;
|
||||
nixAliases = {
|
||||
enable = true;
|
||||
nh.enable = osConfig.nh.enable;
|
||||
nh.enable = osConfig.programs.nh.enable;
|
||||
};
|
||||
enhancedCommands.enable = true;
|
||||
direnv.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue