Run linting

This commit is contained in:
Torjus Håkestad 2024-03-03 05:31:33 +01:00
parent f79aec6f00
commit 9b7ce0260c
4 changed files with 18 additions and 16 deletions

View File

@ -1,7 +1,7 @@
{ inputs, pkgs, lib, config, ... }: { { inputs, pkgs, lib, config, ... }: {
options.hyprland.enable = lib.mkEnableOption "Hyprland"; options.hyprland.enable = lib.mkEnableOption "Hyprland";
config = { config = {
home.packages = with pkgs; [ home.packages = with pkgs; [
cliphist cliphist
dunst dunst
hyprlock hyprlock
@ -20,11 +20,11 @@
"$shiftMainMod" = "SUPER_SHIFT"; "$shiftMainMod" = "SUPER_SHIFT";
"$term" = "kitty"; "$term" = "kitty";
monitor = [ monitor = [
"DP-3,1920x1080@60,2560x0,1" # top "DP-3,1920x1080@60,2560x0,1" # top
"DP-8,2560x1440@75,0x1080,1" # left "DP-8,2560x1440@75,0x1080,1" # left
"DP-2,2560x1440@120,2560x1080,1" # main "DP-2,2560x1440@120,2560x1080,1" # main
"DP-7,2560x1440@75,5120x1080,1" # right "DP-7,2560x1440@75,5120x1080,1" # right
]; ];
input = { input = {
kb_layout = "no"; kb_layout = "no";
@ -130,9 +130,9 @@
"$mainMod, ${ws}, workspace, ${toString (x + 1)}" "$mainMod, ${ws}, workspace, ${toString (x + 1)}"
"ALT, ${ws}, workspace, ${toString (x + 1)}" "ALT, ${ws}, workspace, ${toString (x + 1)}"
]) 10)); ]) 10));
exec-once = [ exec-once = [
"waybar" "waybar"
"hyprpaper" "hyprpaper"
"easy-effects --gapplication-service" "easy-effects --gapplication-service"
# "dunst" # "dunst"
]; ];

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
services.dunst = { services.dunst = {
enable = true; enable = true;
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
@ -57,7 +57,7 @@ services.dunst = {
browser = "/usr/bin/env firefox -new-tab"; browser = "/usr/bin/env firefox -new-tab";
}; };
fullscreen_delay_everything = {fullscreen = "delay";}; fullscreen_delay_everything = { fullscreen = "delay"; };
urgency_critical = { urgency_critical = {
background = "#d64e4e"; background = "#d64e4e";

View File

@ -1,6 +1,6 @@
{ config, ... }: { { config, ... }: {
xdg.configFile."kitty/kitty.conf" = { xdg.configFile."kitty/kitty.conf" = {
source = config.lib.file.mkOutOfStoreSymlink ./. + "/kitty.conf"; source = config.lib.file.mkOutOfStoreSymlink ./. + "/kitty.conf";
target = "kitty/kitty.conf"; target = "kitty/kitty.conf";
}; };
} }

View File

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/installer/scan/not-detected.nix") [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
@ -14,20 +15,21 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/a7d4b697-fffa-4bcb-9dd7-cbbd6121a50c"; {
device = "/dev/disk/by-uuid/a7d4b697-fffa-4bcb-9dd7-cbbd6121a50c";
fsType = "xfs"; fsType = "xfs";
}; };
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/be82b184-3cc7-483b-9069-f7797f51c853"; boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/be82b184-3cc7-483b-9069-f7797f51c853";
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DC0C-AAB3"; {
device = "/dev/disk/by-uuid/DC0C-AAB3";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/2284e9c6-c168-4d4f-ba6a-d270f1ae245d"; } [{ device = "/dev/disk/by-uuid/2284e9c6-c168-4d4f-ba6a-d270f1ae245d"; }];
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's