should work now

This commit is contained in:
Sakooooo 2023-08-06 02:07:15 +03:00
parent 6ff9e7dab2
commit 20323f8a87
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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
]; ];
}; };

View file

@ -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;