style: run clean-code

This commit is contained in:
2026-05-29 07:59:46 +02:00
parent eeac9a9e65
commit 4a6a50a593
7 changed files with 52 additions and 36 deletions
+10 -1
View File
@@ -27,7 +27,16 @@ let
HMConfig = ../home;
systemPackages = ../modules/packages.nix;
specialArgs = {
inherit gamingSystem workSystem enableZram nixvim sops-nix noctalia inputs additionalModules;
inherit
gamingSystem
workSystem
enableZram
nixvim
sops-nix
noctalia
inputs
additionalModules
;
pkgs-unstable = import nixpkgs {
inherit system;
config.allowUnfree = true;
+3 -3
View File
@@ -2,11 +2,11 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
+14 -8
View File
@@ -1,25 +1,31 @@
# 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, ... }:
{ lib, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b3a05e5f-6394-4115-b206-8fb51c235067";
fileSystems."/" = {
device = "/dev/disk/by-uuid/b3a05e5f-6394-4115-b206-8fb51c235067";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/c94fa719-f29a-41bb-8e85-e186fe96846c"; }
swapDevices = [
{ device = "/dev/disk/by-uuid/c94fa719-f29a-41bb-8e85-e186fe96846c"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+2 -1
View File
@@ -15,7 +15,8 @@
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs;
environment.systemPackages =
with pkgs;
let
hostSystem = pkgs.stdenv.hostPlatform.system;
basePackages = [