flake: start transitioning away from with
This commit is contained in:
parent
4b853a8962
commit
deb3e1753c
10 changed files with 281 additions and 270 deletions
|
@ -12,10 +12,13 @@ in {
|
|||
enable = true;
|
||||
powerOnBoot = mkIf cfg.powerOnBoot true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
bluetuith
|
||||
bluez
|
||||
blueman
|
||||
];
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
bluetuith
|
||||
bluez
|
||||
blueman
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,9 +9,12 @@
|
|||
in {
|
||||
hardware = {
|
||||
cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
graphics.extraPackages = with pkgs; [
|
||||
intel-vaapi-driver
|
||||
intel-media-driver
|
||||
];
|
||||
graphics.extraPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
intel-vaapi-driver
|
||||
intel-media-driver
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,12 +11,14 @@ in {
|
|||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs;
|
||||
mkIf cfg.amd.enable [
|
||||
extraPackages = mkIf cfg.amd.enable (builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
mesa
|
||||
libva
|
||||
vaapiVdpa
|
||||
];
|
||||
;
|
||||
});
|
||||
};
|
||||
nvidia = mkIf cfg.nvidia.enable {
|
||||
modesetting.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue