add overlay for nix unstable

This commit is contained in:
aditya
2026-05-09 15:26:39 +05:30
parent 0b65bb0b7f
commit 77483da6be
4 changed files with 16 additions and 6 deletions
+3 -4
View File
@@ -9,6 +9,7 @@
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./home/manager.nix ./home/manager.nix
./system
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@@ -64,9 +65,7 @@
programs.firefox.enable = true; programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = environment.systemPackages = with pkgs; [
(with pkgs; [
telegram-desktop telegram-desktop
(discord.override { (discord.override {
withOpenASAR = true; withOpenASAR = true;
@@ -74,7 +73,7 @@
helix helix
nixd nixd
nodejs nodejs
]); ];
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "nix-command"
+5 -1
View File
@@ -1,10 +1,14 @@
{...}: { pkgs, ... }:
{ {
home.username = "aditya"; home.username = "aditya";
home.homeDirectory = "/home/aditya"; home.homeDirectory = "/home/aditya";
home.stateVersion = "25.11"; home.stateVersion = "25.11";
home.packages = with pkgs.unstable; [
pear-desktop
];
imports = [ imports = [
./programs/gh.nix ./programs/gh.nix
./programs/git.nix ./programs/git.nix
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./overlays.nix
];
}
+1 -1
View File
@@ -11,7 +11,7 @@
}; };
in in
{ {
inherit (unstable-pkgs) ollama kdePackages sddm; inherit (unstable-pkgs) pear-desktop;
unstable = unstable-pkgs; unstable = unstable-pkgs;
} }
) )