Misc: Add nixfmt-tree and run nix fmt

This commit is contained in:
2026-07-30 15:03:14 +02:00
parent 3831cc1540
commit b0a83e2ad5
29 changed files with 200 additions and 132 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
{ inputs, ... }: {
flake.modules.nixos.keith = {
imports = with inputs.self.modules.nixos;
with inputs.self.factory; [
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
system-desktop
(autologin "weckyy702")
(grub-boot "/dev/nvme0n1")
+4 -2
View File
@@ -1,7 +1,9 @@
{ inputs, ... }: {
flake.modules.nixos.keith-devtools = {
imports = with inputs.self.modules.nixos;
with inputs.self.factory; [
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
development-tools
rust-dev
];
+8 -1
View File
@@ -5,7 +5,14 @@
amd-gpu
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true;
+6 -4
View File
@@ -1,7 +1,9 @@
{ self
, inputs
, ...
}: {
{
self,
inputs,
...
}:
{
flake.modules.nixos.keith = { config, ... }: {
age.secrets.upsmon.file = "${inputs.secrets}/upsmon.age";
@@ -7,8 +7,10 @@
];
home-manager.users.weckyy702 = { config, ... }: {
imports = with inputs.self.modules.homeManager;
with inputs.self.factory; [
imports =
with inputs.self.modules.homeManager;
with inputs.self.factory;
[
(wpaperd {
default = {
path = "${inputs.assets}/horizontal_16x9.png";
+4 -2
View File
@@ -1,7 +1,9 @@
{ inputs, ... }: {
flake.modules.nixos.tux-devtools = {
imports = with inputs.self.modules.nixos;
with inputs.self.factory; [
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
development-tools
rust-dev
+4 -1
View File
@@ -8,7 +8,10 @@
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/15FA-55CF";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
+2 -2
View File
@@ -1,3 +1,3 @@
{ inputs, ...}: {
flake.nixosConfigurations = inputs.self.lib.mkNixos "x86_64-linux" "tux";
{ inputs, ... }: {
flake.nixosConfigurations = inputs.self.lib.mkNixos "x86_64-linux" "tux";
}
+11 -3
View File
@@ -4,9 +4,17 @@
intel-gpu
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.luks.devices."luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a".device = "/dev/disk/by-uuid/9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
boot.initrd.luks.devices."luks-46e78828-ab23-48b8-8e2a-de7a21adbe24".device = "/dev/disk/by-uuid/46e78828-ab23-48b8-8e2a-de7a21adbe24";
boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
boot.initrd.luks.devices."luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a".device =
"/dev/disk/by-uuid/9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
boot.initrd.luks.devices."luks-46e78828-ab23-48b8-8e2a-de7a21adbe24".device =
"/dev/disk/by-uuid/46e78828-ab23-48b8-8e2a-de7a21adbe24";
nixpkgs.hostPlatform = "x86_64-linux";
+4 -2
View File
@@ -1,7 +1,9 @@
{ inputs, ... }: {
flake.modules.nixos.tux = {
imports = with inputs.self.modules.nixos;
with inputs.self.factory; [
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
system-desktop
systemd-boot
bluetooth
@@ -7,8 +7,10 @@
];
home-manager.users.weckyy702 = {
imports = with inputs.self.modules.homeManager;
with inputs.self.factory; [
imports =
with inputs.self.modules.homeManager;
with inputs.self.factory;
[
borgmatic
obsidian
vesktop