From bfce53b9efcd864725f5da41045ab2b8ae330152 Mon Sep 17 00:00:00 2001 From: fqbn207 Date: Wed, 1 Jan 2025 00:57:46 +0100 Subject: [PATCH] kekl --- configuration.nix | 9 ++++--- hardware-configuration.nix | 49 ++++++++++++++++++++++++++------------ modules/nix/tmux.nix | 1 + 3 files changed, 41 insertions(+), 18 deletions(-) diff --git a/configuration.nix b/configuration.nix index 440307b..4de497f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -46,9 +46,6 @@ in networking = { hostName = "poggers"; networkmanager.enable = true; - nameservers = [ - "192.168.0.125" - ]; firewall = { enable = true; allowedTCPPorts = [ @@ -131,6 +128,8 @@ in "video" "dialout" "plugdev" + "adbusers" + "kvm" ]; }; @@ -178,6 +177,10 @@ in arduino-ide arduino-language-server dotnet-sdk + bear + android-tools + android-udev-rules + android-studio-tools # misc cava diff --git a/hardware-configuration.nix b/hardware-configuration.nix index a72e722..ff707d5 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,29 +1,48 @@ # 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, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "ahci" + "usb_storage" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/850226f1-be02-42df-bb13-669f364ced4c"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/D3F1-6A1B"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/850226f1-be02-42df-bb13-669f364ced4c"; + fsType = "ext4"; + }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/D3F1-6A1B"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; + fileSystems."/media/STUFF" = { + device = "/dev/disk/by-label/STUFF"; + fsType = "ext4"; + }; swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/modules/nix/tmux.nix b/modules/nix/tmux.nix index 54d9698..ee96aae 100644 --- a/modules/nix/tmux.nix +++ b/modules/nix/tmux.nix @@ -29,6 +29,7 @@ bind -n M-Down select-pane -D set -g status-position top set status-bg default + set -g status-style "fg=white bg=color237" ''; }; };