forked from foxora/nix
format with prettier formatter :3
This commit is contained in:
parent
8b1a6aca39
commit
211fa03252
18 changed files with 480 additions and 500 deletions
|
|
@ -3,8 +3,7 @@
|
|||
root,
|
||||
upkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
|
|
@ -13,7 +12,7 @@
|
|||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot = rec {
|
||||
initrd.kernelModules = [ "amdgpu" ];
|
||||
initrd.kernelModules = ["amdgpu"];
|
||||
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
|
@ -23,8 +22,8 @@
|
|||
kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4;
|
||||
# TODO: idk make this a toggle or smth idfk
|
||||
# kernelPackages = upkgs.linuxPackages_latest;
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = with kernelPackages; [ v4l2loopback ];
|
||||
kernelModules = ["v4l2loopback"];
|
||||
extraModulePackages = with kernelPackages; [v4l2loopback];
|
||||
|
||||
# qemu
|
||||
# binfmt.emulatedSystems = [
|
||||
|
|
@ -99,7 +98,7 @@
|
|||
];
|
||||
|
||||
config.common = {
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ];
|
||||
"org.freedesktop.impl.portal.FileChooser" = ["termfilechooser"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -214,10 +213,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
let
|
||||
imagePath = root + "/homes/aurora/profile.png";
|
||||
in
|
||||
systemd.tmpfiles.rules = let
|
||||
imagePath = root + "/homes/aurora/profile.png";
|
||||
in
|
||||
lib.mkIf (builtins.pathExists imagePath) [
|
||||
"L /var/lib/AccountsService/icons/aurora - - - - ${imagePath}"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue