formattting
This commit is contained in:
parent
90409b441f
commit
20387cd34a
|
@ -1,30 +1,34 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/1000b969-f089-4b1e-bbef-3d0c39da8a91";
|
device = "/dev/disk/by-uuid/1000b969-f089-4b1e-bbef-3d0c39da8a91";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/AB75-97AD";
|
device = "/dev/disk/by-uuid/AB75-97AD";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices = [
|
||||||
[ { device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903"; }
|
{device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903";}
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
host = {
|
|
||||||
# machine specific options
|
# machine specific options
|
||||||
|
host = {
|
||||||
enable-speech = true;
|
enable-speech = true;
|
||||||
nvim = {
|
nvim = {
|
||||||
enable-lsp = true;
|
enable-lsp = true;
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable=true;
|
enable = true;
|
||||||
font={
|
font = {
|
||||||
package=pkgs.fira-code-nerdfont;
|
package = pkgs.fira-code-nerdfont;
|
||||||
name="Fira Code";
|
name = "Fira Code";
|
||||||
};
|
};
|
||||||
theme="Gruvbox Dark";
|
theme = "Gruvbox Dark";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
BreakBeforeBinaryOperators: NonAssignment
|
BreakBeforeBinaryOperators: NonAssignment
|
||||||
...
|
...
|
||||||
'';
|
'';
|
||||||
"work/.clang-format" = lib.mkIf config.host.git.workProfile.enable{
|
"work/.clang-format" = lib.mkIf config.host.git.workProfile.enable {
|
||||||
text = ''
|
text = ''
|
||||||
---
|
---
|
||||||
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
|
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
|
||||||
|
|
Loading…
Reference in a new issue