this repo has no description
4
fork

Configure Feed

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

new host pog

+214 -5
+17
flake.lock
··· 110 110 "type": "github" 111 111 } 112 112 }, 113 + "fufexan": { 114 + "flake": false, 115 + "locked": { 116 + "lastModified": 1657711492, 117 + "narHash": "sha256-t7WLSMPXWs+TR8/ZWvyoUR5h0nrSWQryNmpS/+00DtM=", 118 + "owner": "fufexan", 119 + "repo": "dotfiles", 120 + "rev": "90b4e7452b41aaf18026b5ad46601597e8ec8dcd", 121 + "type": "github" 122 + }, 123 + "original": { 124 + "owner": "fufexan", 125 + "repo": "dotfiles", 126 + "type": "github" 127 + } 128 + }, 113 129 "helix": { 114 130 "inputs": { 115 131 "nixCargoIntegration": "nixCargoIntegration", ··· 265 281 }, 266 282 "root": { 267 283 "inputs": { 284 + "fufexan": "fufexan", 268 285 "helix": "helix", 269 286 "home": "home", 270 287 "hyprland": "hyprland",
+2
flake.nix
··· 18 18 helix.inputs.nixpkgs.follows = "nixpkgs"; 19 19 hyprland.url = "github:hyprwm/Hyprland"; 20 20 hyprland.inputs.nixpkgs.follows = "nixpkgs"; 21 + fufexan.url = "github:fufexan/dotfiles"; 22 + fufexan.flake = false; 21 23 }; 22 24 23 25 outputs = inputs: let
+1
hosts/default.nix
··· 28 28 29 29 systems = { 30 30 lungmen = "x86_64-linux"; 31 + tkaronto = "x86_64-linux"; 31 32 }; 32 33 in 33 34 lib.mapAttrs mkSystem systems
+170
hosts/tkaronto/default.nix
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + inputs, 6 + ... 7 + }: 8 + let 9 + byLabel = label: "/dev/disk/by-label/${label}"; 10 + in 11 + { 12 + imports = with inputs; 13 + with nixos-hardware.nixosModules; [ 14 + nixpkgs.nixosModules.notDetected 15 + nixos-persistence.nixosModule 16 + common-pc-ssd 17 + common-pc-laptop 18 + common-gpu-nvidia 19 + common-gpu-amd 20 + common-cpu-amd 21 + ../../modules/persist 22 + ../../modules/network/iwd.nix 23 + #../../modules/develop/nixbuild 24 + ../../users/root 25 + ../../users/patriot 26 + ]; 27 + 28 + system.persistDir = "/persist"; 29 + 30 + boot = { 31 + tmpOnTmpfs = true; 32 + loader = { 33 + efi.canTouchEfiVariables = true; 34 + systemd-boot.enable = true; 35 + systemd-boot.configurationLimit = 10; 36 + }; 37 + kernelPackages = pkgs.linuxPackages_latest; 38 + supportedFilesystems = ["f2fs"]; 39 + initrd = { 40 + availableKernelModules = [ 41 + "nvme" 42 + "xhci_pci" 43 + "ahci" 44 + "usb_storage" 45 + "usbhid" 46 + "sd_mod" 47 + ]; 48 + kernelModules = ["amdgpu"]; 49 + }; 50 + kernelModules = ["kvm-amd"]; 51 + extraModulePackages = []; 52 + kernel.sysctl = {"fs.inotify.max_user_watches" = 524288;}; 53 + }; 54 + 55 + fileSystems."/" = { 56 + device = "none"; 57 + fsType = "tmpfs"; 58 + options = ["defaults" "size=2G" "mode=755"]; 59 + }; 60 + fileSystems."/nix" = { 61 + device = byLabel "NIX"; 62 + fsType = "f2fs"; 63 + }; 64 + fileSystems."${config.system.persistDir}" = { 65 + device = byLabel "PERSIST"; 66 + fsType = "f2fs"; 67 + neededForBoot = true; 68 + }; 69 + fileSystems."/boot" = { 70 + device = byLabel "BOOT"; 71 + fsType = "vfat"; 72 + }; 73 + 74 + swapDevices = []; 75 + zramSwap = { 76 + enable = true; 77 + algorithm = "zstd"; 78 + }; 79 + 80 + nix.settings.max-jobs = lib.mkDefault 8; 81 + security = { 82 + pam.loginLimits = [ 83 + { 84 + domain = "*"; 85 + type = "soft"; 86 + item = "nofile"; 87 + value = "524288"; 88 + } 89 + { 90 + domain = "*"; 91 + type = "hard"; 92 + item = "nofile"; 93 + value = "524288"; 94 + } 95 + ]; 96 + allowSimultaneousMultithreading = true; 97 + # Deleting root subvolume makes sudo show lecture every boot 98 + sudo.extraConfig = '' 99 + Defaults lecture = never 100 + ''; 101 + rtkit.enable = true; 102 + }; 103 + 104 + sound.enable = false; 105 + services.pipewire = { 106 + enable = true; 107 + alsa.enable = true; 108 + alsa.support32Bit = true; 109 + pulse.enable = true; 110 + }; 111 + hardware = { 112 + opengl = { 113 + driSupport = true; 114 + driSupport32Bit = true; 115 + enable = true; 116 + extraPackages = with pkgs; [ 117 + libvdpau-va-gl 118 + vaapiVdpau 119 + libva 120 + vulkan-loader 121 + ]; 122 + extraPackages32 = with pkgs.pkgsi686Linux; 123 + [ 124 + libvdpau-va-gl 125 + vaapiVdpau 126 + libva 127 + vulkan-loader 128 + ]; 129 + }; 130 + pulseaudio = { 131 + enable = false; 132 + support32Bit = true; 133 + }; 134 + }; 135 + 136 + fonts = { 137 + enableDefaultFonts = true; 138 + fontconfig.enable = true; 139 + fonts = [pkgs.dejavu_fonts]; 140 + }; 141 + 142 + environment = { 143 + systemPackages = [pkgs.ntfs3g]; 144 + pathsToLink = ["/share/zsh"]; 145 + persistence."${config.system.persistDir}" = { 146 + directories = ["/etc/nixos"]; 147 + files = ["/etc/machine-id"]; 148 + }; 149 + }; 150 + 151 + networking.firewall.checkReversePath = "loose"; 152 + services = { 153 + earlyoom.enable = true; 154 + tailscale.enable = false; 155 + ipfs = { 156 + enable = false; 157 + enableGC = true; 158 + autoMount = true; 159 + }; 160 + flatpak.enable = false; 161 + }; 162 + 163 + virtualisation = { 164 + waydroid.enable = false; 165 + podman.enable = false; 166 + libvirtd.enable = false; 167 + }; 168 + 169 + system.stateVersion = "22.05"; 170 + }
+21
pkgs-set/overlays/discord.nix
··· 1 + {inputs}: final: prev: { 2 + discord-open-asar = final.callPackage "${inputs.fufexan}/pkgs/discord" { 3 + inherit (prev.discord) pname version src; 4 + 5 + openasar = prev.callPackage "${inputs.nixpkgs}/pkgs/applications/networking/instant-messengers/discord/openasar.nix" {}; 6 + binaryName = "Discord"; 7 + desktopName = "Discord"; 8 + 9 + isWayland = false; 10 + enableVulkan = false; 11 + extraOptions = [ 12 + "--disable-gpu-memory-buffer-video-frames" 13 + "--enable-accelerated-mjpeg-decode" 14 + "--enable-accelerated-video" 15 + "--enable-gpu-rasterization" 16 + "--enable-native-gpu-memory-buffers" 17 + "--enable-zero-copy" 18 + "--ignore-gpu-blocklist" 19 + ]; 20 + }; 21 + }
+2 -2
users/modules/hyprland/default.nix
··· 28 28 ''; 29 29 in '' 30 30 # should be configured per-profile 31 - monitor=HDMI-A-1,1920x1080@60,0x0,1 32 - workspace=HDMI-A-1,1 31 + monitor=,2560x1600@120,0x0,1.6 32 + workspace=,1 33 33 exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY HYPRLAND_INSTANCE_SIGNATURE 34 34 exec-once=systemctl --user start graphical-session-pre.target 35 35 exec-once=systemctl --user start graphical-session.target
+1 -3
users/patriot/default.nix
··· 175 175 # polymc 176 176 cloudflared 177 177 lutris 178 - (pkgs.discord.override { 179 - withOpenASAR = true; 180 - }) 178 + discord-open-asar 181 179 ]; 182 180 shellAliases = 183 181 nixosConfig.environment.shellAliases