Modularize nix packages into 'packages.nix'

This commit is contained in:
2025-10-03 23:42:39 +02:00
parent ac7e75225e
commit bfc1af68e3
2 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
{ ... }: { pkgs, ... }:
{ {
home.username = "hektor"; home.username = "hektor";
home.homeDirectory = "/home/hektor"; home.homeDirectory = "/home/hektor";
home.stateVersion = "25.05"; home.stateVersion = "25.05";
home.packages = [ ];
home.packages = import ./packages.nix { inherit pkgs; };
} }
@@ -0,0 +1,3 @@
{ pkgs }:
with pkgs; [ ]