alejandra formatting

This commit is contained in:
2025-06-03 20:12:32 +02:00
parent 3b7e839d7b
commit 2ed72ee4b3
7 changed files with 64 additions and 44 deletions

View File

@ -10,7 +10,10 @@
# };
};
outputs = { self, nixpkgs }: {
outputs = {
self,
nixpkgs,
}: {
nixosConfigurations = {
wildfire = nixpkgs.lib.nixosSystem {
specialArgs = {inputs = self.inputs // {inherit self;};};

View File

@ -1,5 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}: {
imports = [
./hardware-configuration.nix
../../modules/common.nix

View File

@ -1,11 +1,15 @@
# 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" "ahci" "usb_storage" "usbhid" "sd_mod"];
@ -14,20 +18,20 @@
boot.extraModulePackages = [];
boot.kernel.sysctl = {"vm.swappiness" = 10;};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f23b65a6-9564-4120-bf58-69cf6312eecc";
fileSystems."/" = {
device = "/dev/disk/by-uuid/f23b65a6-9564-4120-bf58-69cf6312eecc";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-be9995ed-6b36-4f4d-a374-28a85fc50ed8".device = "/dev/disk/by-uuid/be9995ed-6b36-4f4d-a374-28a85fc50ed8";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B7CE-982B";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B7CE-982B";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/2fd893cd-ffc0-4c8d-b071-7520f7a25889"; }
swapDevices = [
{device = "/dev/disk/by-uuid/2fd893cd-ffc0-4c8d-b071-7520f7a25889";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@ -1,6 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}: {
imports = [
./desktop.nix
./users.nix

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
services.xserver = {
# Enable the X11 windowing system.
enable = true;

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
# Common packages for ALL systems
environment.systemPackages = with pkgs; [
# networking

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
# Define the main user account
users = {
users.schulze = {