mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: consistent konawall on hyprland
This commit is contained in:
parent
576f3a3e7e
commit
15f40761fb
17 changed files with 92 additions and 72 deletions
14
nixos/hardware/framework/boot.nix
Normal file
14
nixos/hardware/framework/boot.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
_: {
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = true;
|
||||
};
|
||||
consoleLogLevel = 0;
|
||||
kernelParams = [ "quiet" ];
|
||||
initrd = {
|
||||
verbose = false;
|
||||
systemd.enable = true;
|
||||
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
|
||||
};
|
||||
};
|
||||
}
|
||||
8
nixos/hardware/framework/color.nix
Normal file
8
nixos/hardware/framework/color.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home-manager.users.kat.wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"${pkgs.colord}/bin/colormgr import-profile ${./framework-icc.icm}"
|
||||
];
|
||||
}
|
||||
16
nixos/hardware/framework/fingerprint.nix
Normal file
16
nixos/hardware/framework/fingerprint.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }: {
|
||||
services = {
|
||||
fwupd = {
|
||||
enable = true;
|
||||
package =
|
||||
(import (builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz";
|
||||
sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk";
|
||||
}) {
|
||||
inherit (pkgs) system;
|
||||
})
|
||||
.fwupd;
|
||||
};
|
||||
fprintd.enable = true;
|
||||
};
|
||||
}
|
||||
BIN
nixos/hardware/framework/framework-icc.icm
Normal file
BIN
nixos/hardware/framework/framework-icc.icm
Normal file
Binary file not shown.
15
nixos/hardware/framework/imports.nix
Normal file
15
nixos/hardware/framework/imports.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs,
|
||||
tree,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
(with tree.nixos.hardware; [
|
||||
amd_cpu
|
||||
amd_gpu
|
||||
uefi
|
||||
])
|
||||
++ [
|
||||
inputs.nixos-hardware.outputs.nixosModules.framework-13-7040-amd
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue