Refactor Nix configurations for improved readability and organization; update package declarations to use 'with pkgs;' syntax and remove unnecessary builtins.attrValues.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
#################### Required Configs ####################
|
||||
common/core # required
|
||||
@@ -7,9 +6,7 @@
|
||||
#################### Host-specific Optional Configs ####################
|
||||
];
|
||||
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
vlc
|
||||
;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
vlc
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user