mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29: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}"
|
||||
];
|
||||
}
|
||||
|
|
@ -1,21 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
tree,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
(with tree.nixos.hardware; [
|
||||
amd_cpu
|
||||
amd_gpu
|
||||
uefi
|
||||
])
|
||||
++ [
|
||||
inputs.nixos-hardware.outputs.nixosModules.framework-13-7040-amd
|
||||
];
|
||||
boot.initrd = {
|
||||
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
|
||||
};
|
||||
{ pkgs, ... }: {
|
||||
services = {
|
||||
fwupd = {
|
||||
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