Misc: Add nixfmt-tree and run nix fmt
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user