formattting

This commit is contained in:
Gabe Venberg 2024-03-25 00:11:55 -05:00
parent 90409b441f
commit 20387cd34a
4 changed files with 31 additions and 27 deletions

View file

@ -1,31 +1,35 @@
# 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 + "/profiles/qemu-guest.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1000b969-f089-4b1e-bbef-3d0c39da8a91";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/1000b969-f089-4b1e-bbef-3d0c39da8a91";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AB75-97AD";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/AB75-97AD";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903"; }
];
swapDevices = [
{device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -4,8 +4,8 @@
lib,
...
}: {
# machine specific options
host = {
# machine specific options
enable-speech = true;
nvim = {
enable-lsp = true;

View file

@ -5,11 +5,11 @@
...
}: {
programs.kitty = {
enable=true;
font={
package=pkgs.fira-code-nerdfont;
name="Fira Code";
enable = true;
font = {
package = pkgs.fira-code-nerdfont;
name = "Fira Code";
};
theme="Gruvbox Dark";
theme = "Gruvbox Dark";
};
}

View file

@ -28,7 +28,7 @@
BreakBeforeBinaryOperators: NonAssignment
...
'';
"work/.clang-format" = lib.mkIf config.host.git.workProfile.enable{
"work/.clang-format" = lib.mkIf config.host.git.workProfile.enable {
text = ''
---
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.