should work now
This commit is contained in:
parent
6ff9e7dab2
commit
20323f8a87
3 changed files with 7 additions and 3 deletions
|
@ -3,7 +3,10 @@
|
|||
description = "horrible dotfiles for amazing distro";
|
||||
|
||||
inputs = {
|
||||
# nixpkgs
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
# unstable for a few packages
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# TODO(sako):: add agenix or sops-nix
|
||||
|
|
|
@ -12,7 +12,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nixd
|
||||
unstable.nixd
|
||||
nixpkgs-fmt
|
||||
];
|
||||
};
|
||||
|
|
|
@ -24,8 +24,9 @@
|
|||
});
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
# be accessible through 'pkgs.unstable'
|
||||
# lmao when did i add this
|
||||
# for a few packages
|
||||
# access through pkgs.unstable
|
||||
unstable-packages = final: _prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
system = final.system;
|
||||
|
|
Loading…
Reference in a new issue