mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: can't get regreet to work
This commit is contained in:
parent
dc82cbe08d
commit
6c31034b45
7 changed files with 53 additions and 33 deletions
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
@ -26,4 +30,13 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
# Print package list
|
||||
environment.etc."current-system-packages".text = let
|
||||
packages = builtins.map (p: "${p.name}") config.environment.systemPackages;
|
||||
|
||||
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
|
||||
|
||||
formatted = builtins.concatStringsSep "\n" sortedUnique;
|
||||
in
|
||||
formatted;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue