update intel-media-sdk to vpl-gpu-rt
This commit is contained in:
@@ -169,21 +169,20 @@ rec {
|
|||||||
system
|
system
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
modules =
|
modules = [
|
||||||
[
|
inputs.nixos-modules.nixosModule
|
||||||
inputs.nixos-modules.nixosModule
|
inputs.nix-index-database.nixosModules.nix-index
|
||||||
inputs.nix-index-database.nixosModules.nix-index
|
(genHostName hostname)
|
||||||
(genHostName hostname)
|
(configPath + "/hardware.nix")
|
||||||
(configPath + "/hardware.nix")
|
(configPath + "/configuration.nix")
|
||||||
(configPath + "/configuration.nix")
|
]
|
||||||
]
|
++ modules
|
||||||
++ modules
|
++ (lib.adev.fileList (src + "/modules"))
|
||||||
++ (lib.adev.fileList (src + "/modules"))
|
++ genWrapper sops genSops args
|
||||||
++ genWrapper sops genSops args
|
++ genWrapper home genHome args
|
||||||
++ genWrapper home genHome args
|
++ genWrapper true genUsers args
|
||||||
++ genWrapper true genUsers args
|
#++ genWrapper lix ({ ... }: [ inputs.lix-module.nixosModules.default ]) args
|
||||||
#++ genWrapper lix ({ ... }: [ inputs.lix-module.nixosModules.default ]) args
|
++ genWrapper (system != "x86_64-linux") genNonX86 args;
|
||||||
++ genWrapper (system != "x86_64-linux") genNonX86 args;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# a convenience function for automatically generating NixOS systems by reading a directory via constructSystem
|
# a convenience function for automatically generating NixOS systems by reading a directory via constructSystem
|
||||||
|
@@ -59,11 +59,12 @@ in
|
|||||||
repos = lib.filterAttrs (_: { enable, ... }: enable) cfg.repo;
|
repos = lib.filterAttrs (_: { enable, ... }: enable) cfg.repo;
|
||||||
in
|
in
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
environment.systemPackages =
|
environment.systemPackages = [
|
||||||
[ pkgs.git ]
|
pkgs.git
|
||||||
++ lib.optionals (lib.any (ssh-key: ssh-key != "") (lib.adev.mapGetAttr "ssh-key" repos)) [
|
]
|
||||||
pkgs.openssh
|
++ lib.optionals (lib.any (ssh-key: ssh-key != "") (lib.adev.mapGetAttr "ssh-key" repos)) [
|
||||||
];
|
pkgs.openssh
|
||||||
|
];
|
||||||
|
|
||||||
systemd.services = lib.mapAttrs' (
|
systemd.services = lib.mapAttrs' (
|
||||||
_:
|
_:
|
||||||
|
@@ -35,10 +35,11 @@ in
|
|||||||
config.boot = lib.mkIf cfg.default {
|
config.boot = lib.mkIf cfg.default {
|
||||||
supportedFilesystems = [ cfg.filesystem ];
|
supportedFilesystems = [ cfg.filesystem ];
|
||||||
tmp.useTmpfs = true;
|
tmp.useTmpfs = true;
|
||||||
kernelParams =
|
kernelParams = [
|
||||||
[ "nordrand" ]
|
"nordrand"
|
||||||
++ lib.optional (cfg.cpuType == "amd") "kvm-amd"
|
]
|
||||||
++ lib.optional cfg.fullDiskEncryption "ip=<ip-addr>::<ip-gateway>:<netmask>";
|
++ lib.optional (cfg.cpuType == "amd") "kvm-amd"
|
||||||
|
++ lib.optional cfg.fullDiskEncryption "ip=<ip-addr>::<ip-gateway>:<netmask>";
|
||||||
initrd = {
|
initrd = {
|
||||||
kernelModules = lib.mkIf cfg.amdGPU [ "amdgpu" ];
|
kernelModules = lib.mkIf cfg.amdGPU [ "amdgpu" ];
|
||||||
network = lib.mkIf cfg.fullDiskEncryption {
|
network = lib.mkIf cfg.fullDiskEncryption {
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
intel-compute-runtime
|
intel-compute-runtime
|
||||||
intel-media-sdk
|
vpl-gpu-rt # replaces intel-media-sdk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -7,18 +7,17 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
./home/zsh.nix
|
||||||
./home/zsh.nix
|
./home/git.nix
|
||||||
./home/git.nix
|
]
|
||||||
]
|
++ lib.optionals (!machineConfig.server) [
|
||||||
++ lib.optionals (!machineConfig.server) [
|
./home/gammastep.nix
|
||||||
./home/gammastep.nix
|
./home/doom
|
||||||
./home/doom
|
./home/hypr
|
||||||
./home/hypr
|
./home/waybar.nix
|
||||||
./home/waybar.nix
|
./non-server.nix
|
||||||
./non-server.nix
|
];
|
||||||
];
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
|
Reference in New Issue
Block a user