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";
|
description = "horrible dotfiles for amazing distro";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
# nixpkgs
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
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.url = "github:nix-community/home-manager/release-23.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# TODO(sako):: add agenix or sops-nix
|
# TODO(sako):: add agenix or sops-nix
|
||||||
|
|
|
@ -12,7 +12,7 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nixd
|
unstable.nixd
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,8 +24,9 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
# lmao when did i add this
|
||||||
# be accessible through 'pkgs.unstable'
|
# for a few packages
|
||||||
|
# access through pkgs.unstable
|
||||||
unstable-packages = final: _prev: {
|
unstable-packages = final: _prev: {
|
||||||
unstable = import inputs.nixpkgs-unstable {
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
system = final.system;
|
system = final.system;
|
||||||
|
|
Loading…
Reference in a new issue