format nix with alejandra

This commit is contained in:
js0ny 2025-10-24 22:41:27 +01:00
parent e1cc141ce7
commit 2b498c9fd3
37 changed files with 183 additions and 177 deletions

View file

@ -1,6 +1,5 @@
# ~/.config/nixcfgs/hosts/zephyrus/default.nix
{ pkgs, ... }:
{
{pkgs, ...}: {
imports = [
# Host-specific configs
./asus.nix
@ -23,6 +22,7 @@
# desktop environment and display manager
../../modules/nixos/desktop/dm/gdm.nix
../../modules/nixos/desktop/de/gnome.nix
../../modules/nixos/desktop/de/niri.nix
# desktop programs
../../modules/nixos/programs/chromium.nix

View file

@ -1,50 +1,53 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = ["subvol=@"];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = ["subvol=@home"];
};
fileSystems."/swap" =
{ device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = [ "subvol=@swap" ];
};
fileSystems."/swap" = {
device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = ["subvol=@swap"];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/ed71c463-1cf6-449d-9aa8-ed715fe7ad74";
fsType = "btrfs";
options = ["subvol=@nix"];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0BDA-B0A4";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/0BDA-B0A4";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [ ];
swapDevices = [];
# 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

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
keyd
];
@ -9,7 +7,7 @@
enable = true;
keyboards = {
externalKeyboard = {
ids = [ "0b05:19b6:d167885d" ]; # ASUS Keyboard
ids = ["0b05:19b6:d167885d"]; # ASUS Keyboard
settings = {
main = {
capslock = "overload(control, esc)";