formatting goes brrr
This commit is contained in:
parent
4e8e8f0fed
commit
0f37f09199
17 changed files with 110 additions and 110 deletions
|
|
@ -3,9 +3,9 @@
|
|||
enableDefaultFonts = true;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = ["NotoSerif"];
|
||||
sansSerif = ["NotoSans"];
|
||||
monospace = ["CascadiaCode"];
|
||||
serif = [ "NotoSerif" ];
|
||||
sansSerif = [ "NotoSans" ];
|
||||
monospace = [ "CascadiaCode" ];
|
||||
};
|
||||
};
|
||||
fonts = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -4,66 +4,66 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "rootfs";
|
||||
fsType = "tmpfs";
|
||||
options = [ "defaults" "size=4G" "mode=755" ];
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "rootfs";
|
||||
fsType = "tmpfs";
|
||||
options = [ "defaults" "size=4G" "mode=755" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/E8E8-E570";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/E8E8-E570";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/butter" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=5" ];
|
||||
};
|
||||
fileSystems."/mnt/butter" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=5" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=258" ];
|
||||
};
|
||||
fileSystems."/nix" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=258" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=260" ];
|
||||
};
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=260" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/.snapshots" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=319" ];
|
||||
};
|
||||
fileSystems."/home/.snapshots" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=319" ];
|
||||
};
|
||||
|
||||
fileSystems."/root" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=261" ];
|
||||
};
|
||||
fileSystems."/root" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=261" ];
|
||||
};
|
||||
|
||||
fileSystems."/var" =
|
||||
{ device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=259" ];
|
||||
};
|
||||
fileSystems."/var" = {
|
||||
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
|
||||
fsType = "btrfs";
|
||||
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=259" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/hdd" =
|
||||
{ device = "/dev/disk/by-uuid/d5e3cfe5-c73a-4695-b81b-fc0215d4cefe";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/mnt/hdd" = {
|
||||
device = "/dev/disk/by-uuid/d5e3cfe5-c73a-4695-b81b-fc0215d4cefe";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
device = "nodev";
|
||||
};
|
||||
};
|
||||
blacklistedKernelModules = ["uvcvideo"];
|
||||
blacklistedKernelModules = [ "uvcvideo" ];
|
||||
initrd = {
|
||||
includeDefaultModules = false;
|
||||
kernelModules = [ "i915" ];
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@
|
|||
prefixLength = 24;
|
||||
}];
|
||||
networking.defaultGateway = "192.168.100.1";
|
||||
networking.nameservers = ["192.168.100.11"];
|
||||
networking.nameservers = [ "192.168.100.11" ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
{ config, pkgs, ...}: {
|
||||
{ config, enableGUI, lib, pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
efibootmgr
|
||||
git
|
||||
gparted
|
||||
htop
|
||||
libarchive
|
||||
lf
|
||||
|
|
@ -11,23 +10,24 @@
|
|||
neovim
|
||||
rsync
|
||||
wget
|
||||
|
||||
] ++ lib.optionals enableGUI [
|
||||
gparted
|
||||
gnome3.nautilus
|
||||
];
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
}
|
||||
// (if !enableGUI then {} else {
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
intel-ocl
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
intel-ocl
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
];
|
||||
programs.light.enable = true;
|
||||
hardware.opentabletdriver.enable = true;
|
||||
programs.steam.enable = true;
|
||||
services.dbus.packages = [ pkgs.gnome3.dconf pkgs.gcr ];
|
||||
services.gnome.sushi.enable = true;
|
||||
# services.ipfs.enable = true;
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
groups = ["wheel"];
|
||||
groups = [ "wheel" ];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
genMimes = mimeTypes: builtins.listToAttrs (builtins.map (mimeType: {
|
||||
name = mimeType;
|
||||
value = "brave-browser.desktop";
|
||||
}) mimeTypes);
|
||||
genMimes = mimeTypes: builtins.listToAttrs (
|
||||
builtins.map (mimeType: {
|
||||
name = mimeType;
|
||||
value = "brave-browser.desktop";
|
||||
}) mimeTypes
|
||||
);
|
||||
|
||||
mimes = genMimes [
|
||||
"x-scheme-handler/http"
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ in {
|
|||
localVariables = {
|
||||
KEYTIMEOUT = "1";
|
||||
#PS1 = "%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b ";
|
||||
ZSH_AUTOSUGGEST_STRATEGY = ["completion"];
|
||||
ZSH_AUTOSUGGEST_STRATEGY = [ "completion" ];
|
||||
ZSH_AUTOSUGGEST_USE_ASYNC = true;
|
||||
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE = 40;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue