Began aggresively formatting project

This commit is contained in:
2023-12-19 17:16:03 -04:00
parent 38b461ae65
commit 22dc9f16fb
31 changed files with 177 additions and 242 deletions

View File

@@ -1,43 +1,38 @@
{ config, pkgs, inputs, lib, ... }:
let
hostname = "Blackbird";
in
{
inputs,
lib,
...
}: let
hostname = "Blackbird";
in {
# System version
system.stateVersion = "23.11";
imports = [
# Import hardware configuration
inputs.nixos-hardware.nixosModules.gpd-pocket-3
inputs.disko.nixosModules.disko
./disko.nix
# Import system configuration
../../modules/system.nix
../../modules/harden.nix
../../modules/kde.nix
];
# Set networking
hardware.enableRedistributableFirmware = true;
networking.hostName = hostname;
networking.networkmanager.enable = true;
networking.useDHCP = lib.mkDefault true;
# Bootloader configuration
boot = {
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
kernelModules = ["kvm-intel"];
extraModulePackages = [];
initrd = {
kernelModules = [ ];
kernelModules = [];
availableKernelModules = [
"xhci_pci"
"thunderbolt"
@@ -57,7 +52,6 @@ in
};
};
# Setup Audio
sound.enable = true;
hardware.pulseaudio.enable = false;
@@ -69,8 +63,6 @@ in
pulse.enable = true;
};
# Setup bluetooth
hardware.bluetooth.enable = true;
}

View File

@@ -29,19 +29,19 @@
};
content = {
type = "btrfs";
extraArgs = [ "-f" ];
extraArgs = ["-f"];
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = ["compress=zstd" "noatime"];
};
"/home" = {
mountpoint = "/home";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = ["compress=zstd" "noatime"];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = ["compress=zstd" "noatime"];
};
"/swap" = {
mountpoint = "/.swapvol";