my nixos config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fonts now installed user-wide, added blender, whitespace crap

chfour dd356fe1 59b4dbda

+47 -39
+2 -1
machines/_common/env-gnome.nix
··· 2 2 3 3 { 4 4 services.xserver.enable = true; 5 - 5 + 6 6 services.xserver.displayManager.gdm.enable = true; 7 7 services.xserver.desktopManager.gnome = { 8 8 enable = true; ··· 28 28 geary gnome-tour gnome-contacts 29 29 gnome-music gnome-photos 30 30 gnome-console # important!! bring your own terminal emulator 31 + totem 31 32 ]; 32 33 33 34 environment.systemPackages = with pkgs; [
+12 -22
machines/foxbox/default.nix
··· 5 5 ./hardware.nix 6 6 ../_common/env-gnome.nix 7 7 ]; 8 - 8 + 9 9 networking.hostName = "foxbox"; 10 10 11 11 boot.loader.systemd-boot.enable = true; 12 12 boot.loader.efi.canTouchEfiVariables = true; 13 13 14 14 boot.kernelPackages = pkgs.linuxPackages_latest; 15 - 15 + 16 16 time.timeZone = "Europe/Warsaw"; 17 17 i18n.defaultLocale = "en_US.UTF-8"; 18 18 i18n.extraLocaleSettings = { ··· 31 31 variant = ""; 32 32 }; 33 33 console.keyMap = "pl2"; 34 - 34 + 35 35 programs.steam.enable = true; 36 36 37 37 programs.gnupg.agent = { ··· 57 57 programs.adb.enable = true; 58 58 59 59 #services.flatpak.enable = true; # ugh 60 - 60 + 61 + documentation.dev.enable = true; 62 + 61 63 environment.systemPackages = with pkgs; [ 62 64 micro wl-clipboard 63 65 curlHTTP3 64 66 wget fzf 65 67 cnping # this has to be here because security.wrappers.* 66 68 htop 67 - 69 + 70 + man-pages man-pages-posix 71 + 68 72 pinentry-curses # gnupg weirdness 69 73 virt-manager 70 74 wine ··· 77 81 capabilities = "cap_net_raw+ep"; 78 82 }; 79 83 80 - fonts = { 81 - packages = with pkgs; [ 82 - noto-fonts 83 - liberation_ttf 84 - terminus_font 85 - terminus_font_ttf 86 - fira 87 - unifont 88 - twitter-color-emoji # the non-svg variant cuz that didnt work 89 - ]; 90 - fontconfig.defaultFonts = { 91 - # wow this is so much simpler than on arch holy shit 92 - emoji = [ "Twitter Color Emoji" ]; 93 - }; 94 - }; 84 + fonts.enableDefaultPackages = true; 95 85 96 86 environment.variables = { 97 87 # teehee 98 88 SUDO_PROMPT = "[sudo] programming socks required beyond this point: "; 99 89 }; 100 - 90 + 101 91 services.printing = { 102 92 enable = true; 103 93 drivers = with pkgs; [ hplip ]; ··· 116 106 #jack.enable = true; 117 107 wireplumber.enable = true; 118 108 }; 119 - 109 + 120 110 networking.networkmanager.enable = true; 121 111 122 112 virtualisation.libvirtd = {
+7 -2
machines/foxbox/hardware.nix
··· 11 11 script = "${pkgs.kmod}/bin/modprobe -r psmouse && ${pkgs.kmod}/bin/modprobe psmouse"; 12 12 }; 13 13 14 + hardware.bluetooth = { 15 + enable = true; 16 + powerOnBoot = false; # do not turn on bluetooth at boot 17 + }; 18 + 14 19 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 15 - 20 + 16 21 powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; 17 22 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 18 - 23 + 19 24 boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; 20 25 boot.initrd.kernelModules = [ ]; 21 26 boot.kernelModules = [ "kvm-intel" ];
+1 -1
users/chfour/default.nix
··· 6 6 users.groups = { 7 7 chfour = { gid = 1000; }; 8 8 }; 9 - 9 + 10 10 users.users."chfour" = { 11 11 isNormalUser = true; 12 12 description = "chfour";
+25 -13
users/chfour/home.nix
··· 7 7 imports = builtins.concatLists [ 8 8 (lib.optional osConfig.services.xserver.desktopManager.gnome.enable ./env-gnome.nix) 9 9 ]; 10 - 10 + 11 11 home.username = "chfour"; 12 12 home.homeDirectory = "/home/chfour"; 13 13 ··· 30 30 }; 31 31 syntaxHighlighting.enable = true; 32 32 }; 33 - 33 + 34 34 programs.git = { 35 35 enable = true; 36 - 36 + 37 37 userName = "chfour"; 38 38 userEmail = "chfourchfour@protonmail.com"; 39 - 39 + 40 40 signing.signByDefault = true; 41 41 signing.key = "BD2EC4C0608DED53"; 42 42 ··· 90 90 }; 91 91 92 92 xdg.userDirs.enable = isGui; 93 - 93 + 94 94 services.mpd = { 95 95 enable = isGui; 96 96 network.startWhenNeeded = true; 97 - 97 + 98 98 # holy shit :sob: 99 99 extraConfig = '' 100 100 ${lib.strings.optionalString osConfig.services.pipewire.enable ''audio_output { ··· 109 109 btop 110 110 micro 111 111 tree file usbutils pciutils 112 - jq ffmpeg_6-full imagemagick 112 + jq ffmpeg-full imagemagick 113 113 sqlite-interactive 114 114 fzf 115 115 socat nmap 116 - 116 + 117 117 hyfetch 118 - 118 + 119 119 mat2 120 120 yt-dlp 121 121 ] ··· 127 127 vesktop 128 128 helvum 129 129 inkscape gimp 130 + blender 130 131 obs-studio 131 132 prismlauncher 132 133 celluloid 133 134 sox 134 135 beets 135 136 platformio 136 - 137 + 137 138 sdrpp 138 139 rtl-sdr 139 140 gpredict 140 141 #chirp # lol lmao 142 + pulseview 141 143 142 - pulseview 144 + # fonts 145 + noto-fonts 146 + twitter-color-emoji 147 + fira 148 + terminus_font terminus_font_ttf 149 + monaspace 143 150 ]) 144 - (lib.optionals config.services.mpd.enable [ mpdevil mpc-cli ]) 151 + (lib.optionals config.services.mpd.enable [ mpdevil mpc-cli ]) 145 152 ]); 146 - 153 + 154 + fonts.fontconfig = { 155 + enable = isGui; 156 + defaultFonts.emoji = [ "Twitter Color Emoji" ]; 157 + }; 158 + 147 159 programs.home-manager.enable = true; 148 160 home.stateVersion = "23.05"; 149 161 }