This repository has no description
0

Configure Feed

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

Initial commit.

author
folospior
date (Dec 3, 2024, 7:06 PM +0100) commit 6b8912e6
+775
+347
flake.lock
··· 1 + { 2 + "nodes": { 3 + "devshell": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixvim", 7 + "nixpkgs" 8 + ] 9 + }, 10 + "locked": { 11 + "lastModified": 1728330715, 12 + "narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=", 13 + "owner": "numtide", 14 + "repo": "devshell", 15 + "rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef", 16 + "type": "github" 17 + }, 18 + "original": { 19 + "owner": "numtide", 20 + "repo": "devshell", 21 + "type": "github" 22 + } 23 + }, 24 + "flake-compat": { 25 + "locked": { 26 + "lastModified": 1696426674, 27 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 28 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 29 + "revCount": 57, 30 + "type": "tarball", 31 + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" 32 + }, 33 + "original": { 34 + "type": "tarball", 35 + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" 36 + } 37 + }, 38 + "flake-parts": { 39 + "inputs": { 40 + "nixpkgs-lib": [ 41 + "nixvim", 42 + "nixpkgs" 43 + ] 44 + }, 45 + "locked": { 46 + "lastModified": 1730504689, 47 + "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", 48 + "owner": "hercules-ci", 49 + "repo": "flake-parts", 50 + "rev": "506278e768c2a08bec68eb62932193e341f55c90", 51 + "type": "github" 52 + }, 53 + "original": { 54 + "owner": "hercules-ci", 55 + "repo": "flake-parts", 56 + "type": "github" 57 + } 58 + }, 59 + "flake-utils": { 60 + "inputs": { 61 + "systems": "systems" 62 + }, 63 + "locked": { 64 + "lastModified": 1731533236, 65 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 66 + "owner": "numtide", 67 + "repo": "flake-utils", 68 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 69 + "type": "github" 70 + }, 71 + "original": { 72 + "owner": "numtide", 73 + "repo": "flake-utils", 74 + "type": "github" 75 + } 76 + }, 77 + "git-hooks": { 78 + "inputs": { 79 + "flake-compat": [ 80 + "nixvim", 81 + "flake-compat" 82 + ], 83 + "gitignore": "gitignore", 84 + "nixpkgs": [ 85 + "nixvim", 86 + "nixpkgs" 87 + ], 88 + "nixpkgs-stable": [ 89 + "nixvim", 90 + "nixpkgs" 91 + ] 92 + }, 93 + "locked": { 94 + "lastModified": 1732021966, 95 + "narHash": "sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE=", 96 + "owner": "cachix", 97 + "repo": "git-hooks.nix", 98 + "rev": "3308484d1a443fc5bc92012435d79e80458fe43c", 99 + "type": "github" 100 + }, 101 + "original": { 102 + "owner": "cachix", 103 + "repo": "git-hooks.nix", 104 + "type": "github" 105 + } 106 + }, 107 + "gitignore": { 108 + "inputs": { 109 + "nixpkgs": [ 110 + "nixvim", 111 + "git-hooks", 112 + "nixpkgs" 113 + ] 114 + }, 115 + "locked": { 116 + "lastModified": 1709087332, 117 + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", 118 + "owner": "hercules-ci", 119 + "repo": "gitignore.nix", 120 + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", 121 + "type": "github" 122 + }, 123 + "original": { 124 + "owner": "hercules-ci", 125 + "repo": "gitignore.nix", 126 + "type": "github" 127 + } 128 + }, 129 + "home-manager": { 130 + "inputs": { 131 + "nixpkgs": [ 132 + "nixpkgs" 133 + ] 134 + }, 135 + "locked": { 136 + "lastModified": 1733175814, 137 + "narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=", 138 + "owner": "nix-community", 139 + "repo": "home-manager", 140 + "rev": "bf23fe41082aa0289c209169302afd3397092f22", 141 + "type": "github" 142 + }, 143 + "original": { 144 + "owner": "nix-community", 145 + "repo": "home-manager", 146 + "type": "github" 147 + } 148 + }, 149 + "home-manager_2": { 150 + "inputs": { 151 + "nixpkgs": [ 152 + "nixvim", 153 + "nixpkgs" 154 + ] 155 + }, 156 + "locked": { 157 + "lastModified": 1733175814, 158 + "narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=", 159 + "owner": "nix-community", 160 + "repo": "home-manager", 161 + "rev": "bf23fe41082aa0289c209169302afd3397092f22", 162 + "type": "github" 163 + }, 164 + "original": { 165 + "owner": "nix-community", 166 + "repo": "home-manager", 167 + "type": "github" 168 + } 169 + }, 170 + "ixx": { 171 + "inputs": { 172 + "flake-utils": [ 173 + "nixvim", 174 + "nuschtosSearch", 175 + "flake-utils" 176 + ], 177 + "nixpkgs": [ 178 + "nixvim", 179 + "nuschtosSearch", 180 + "nixpkgs" 181 + ] 182 + }, 183 + "locked": { 184 + "lastModified": 1729958008, 185 + "narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=", 186 + "owner": "NuschtOS", 187 + "repo": "ixx", 188 + "rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb", 189 + "type": "github" 190 + }, 191 + "original": { 192 + "owner": "NuschtOS", 193 + "ref": "v0.0.6", 194 + "repo": "ixx", 195 + "type": "github" 196 + } 197 + }, 198 + "nix-darwin": { 199 + "inputs": { 200 + "nixpkgs": [ 201 + "nixvim", 202 + "nixpkgs" 203 + ] 204 + }, 205 + "locked": { 206 + "lastModified": 1733105089, 207 + "narHash": "sha256-Qs3YmoLYUJ8g4RkFj2rMrzrP91e4ShAioC9s+vG6ENM=", 208 + "owner": "lnl7", 209 + "repo": "nix-darwin", 210 + "rev": "c6b65d946097baf3915dd51373251de98199280d", 211 + "type": "github" 212 + }, 213 + "original": { 214 + "owner": "lnl7", 215 + "repo": "nix-darwin", 216 + "type": "github" 217 + } 218 + }, 219 + "nix-flatpak": { 220 + "locked": { 221 + "lastModified": 1733228754, 222 + "narHash": "sha256-Jbt4imHmz5Z0jdaW7RrwAO1HYCmPs3XCt4j86jkG0b4=", 223 + "owner": "gmodena", 224 + "repo": "nix-flatpak", 225 + "rev": "2880dc44fc8c450b4ffe1609a4bccd19ef759f5c", 226 + "type": "github" 227 + }, 228 + "original": { 229 + "owner": "gmodena", 230 + "repo": "nix-flatpak", 231 + "type": "github" 232 + } 233 + }, 234 + "nixpkgs": { 235 + "locked": { 236 + "lastModified": 1733015953, 237 + "narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=", 238 + "owner": "NixOS", 239 + "repo": "nixpkgs", 240 + "rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff", 241 + "type": "github" 242 + }, 243 + "original": { 244 + "id": "nixpkgs", 245 + "ref": "nixos-unstable", 246 + "type": "indirect" 247 + } 248 + }, 249 + "nixvim": { 250 + "inputs": { 251 + "devshell": "devshell", 252 + "flake-compat": "flake-compat", 253 + "flake-parts": "flake-parts", 254 + "git-hooks": "git-hooks", 255 + "home-manager": "home-manager_2", 256 + "nix-darwin": "nix-darwin", 257 + "nixpkgs": [ 258 + "nixpkgs" 259 + ], 260 + "nuschtosSearch": "nuschtosSearch", 261 + "treefmt-nix": "treefmt-nix" 262 + }, 263 + "locked": { 264 + "lastModified": 1733220378, 265 + "narHash": "sha256-tWCskBne7LigfeXRWnUFJKKTLOYmmdqiwdqom2Sml1s=", 266 + "owner": "nix-community", 267 + "repo": "nixvim", 268 + "rev": "78bfbf7b7eb7a1b6cf42e199547de55a55ba2cea", 269 + "type": "github" 270 + }, 271 + "original": { 272 + "owner": "nix-community", 273 + "repo": "nixvim", 274 + "type": "github" 275 + } 276 + }, 277 + "nuschtosSearch": { 278 + "inputs": { 279 + "flake-utils": "flake-utils", 280 + "ixx": "ixx", 281 + "nixpkgs": [ 282 + "nixvim", 283 + "nixpkgs" 284 + ] 285 + }, 286 + "locked": { 287 + "lastModified": 1733006402, 288 + "narHash": "sha256-BC1CecAQISV5Q4LZK72Gx0+faemOwaChiD9rMVfDPoA=", 289 + "owner": "NuschtOS", 290 + "repo": "search", 291 + "rev": "16307548b7a1247291c84ae6a12c0aacb07dfba2", 292 + "type": "github" 293 + }, 294 + "original": { 295 + "owner": "NuschtOS", 296 + "repo": "search", 297 + "type": "github" 298 + } 299 + }, 300 + "root": { 301 + "inputs": { 302 + "home-manager": "home-manager", 303 + "nix-flatpak": "nix-flatpak", 304 + "nixpkgs": "nixpkgs", 305 + "nixvim": "nixvim" 306 + } 307 + }, 308 + "systems": { 309 + "locked": { 310 + "lastModified": 1681028828, 311 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 312 + "owner": "nix-systems", 313 + "repo": "default", 314 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 315 + "type": "github" 316 + }, 317 + "original": { 318 + "owner": "nix-systems", 319 + "repo": "default", 320 + "type": "github" 321 + } 322 + }, 323 + "treefmt-nix": { 324 + "inputs": { 325 + "nixpkgs": [ 326 + "nixvim", 327 + "nixpkgs" 328 + ] 329 + }, 330 + "locked": { 331 + "lastModified": 1732894027, 332 + "narHash": "sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII+oAc=", 333 + "owner": "numtide", 334 + "repo": "treefmt-nix", 335 + "rev": "6209c381904cab55796c5d7350e89681d3b2a8ef", 336 + "type": "github" 337 + }, 338 + "original": { 339 + "owner": "numtide", 340 + "repo": "treefmt-nix", 341 + "type": "github" 342 + } 343 + } 344 + }, 345 + "root": "root", 346 + "version": 7 347 + }
+80
flake.nix
··· 1 + { 2 + description = "Folo's Flake"; 3 + 4 + inputs = { 5 + nixpkgs.url = "nixpkgs/nixos-unstable"; 6 + home-manager = { 7 + url = "github:nix-community/home-manager"; 8 + inputs.nixpkgs.follows = "nixpkgs"; 9 + }; 10 + nix-flatpak.url = "github:gmodena/nix-flatpak"; 11 + nixvim = { 12 + url = "github:nix-community/nixvim"; 13 + inputs.nixpkgs.follows = "nixpkgs"; 14 + }; 15 + }; 16 + 17 + outputs = { 18 + self, 19 + nixpkgs, 20 + home-manager, 21 + nix-flatpak, 22 + nixvim, 23 + ... 24 + } @ inputs: let 25 + lib = nixpkgs.lib; 26 + system = "x86_64-linux"; 27 + pkgs = nixpkgs.legacyPackages.${system}; # required for home-manager 28 + 29 + systemSettings = { 30 + inherit system; 31 + hostname = "Folo-Nix"; 32 + language = "en_US.UTF-8"; 33 + country = "pl_PL.UTF-8"; 34 + kbLayout = "pl"; 35 + timezone = "Europe/Warsaw"; 36 + videoDrivers = ["nvidia"]; 37 + displayManager = "sddm"; # one of sddm, none 38 + iGPUBusId = "PCI:0:2:0"; 39 + dGPUBusId = "PCI:1:0:0"; 40 + desktop = "plasma"; # one of plasma, none 41 + }; 42 + userSettings = { 43 + username = "folo"; 44 + fullName = "Folo"; 45 + groups = ["networkmanager" "wheel"]; 46 + browser = "firefox"; # any of firefox, none 47 + }; 48 + in { 49 + nixosConfigurations = { 50 + ${systemSettings.hostname} = lib.nixosSystem { 51 + inherit system; 52 + 53 + specialArgs = { 54 + inherit inputs; 55 + inherit systemSettings; 56 + inherit userSettings; 57 + }; 58 + 59 + modules = [ 60 + nix-flatpak.nixosModules.nix-flatpak 61 + ./system/configuration.nix 62 + ]; 63 + }; 64 + }; 65 + 66 + homeConfigurations = { 67 + ${userSettings.username} = home-manager.lib.homeManagerConfiguration { 68 + inherit pkgs; 69 + extraSpecialArgs = { 70 + inherit inputs; 71 + inherit systemSettings; 72 + inherit userSettings; 73 + }; 74 + modules = [ 75 + ./user/home.nix 76 + ]; 77 + }; 78 + }; 79 + }; 80 + }
+9
system/bootloader.nix
··· 1 + {...}: { 2 + boot.loader = { 3 + systemd-boot = { 4 + enable = true; 5 + configurationLimit = 5; 6 + }; 7 + efi.canTouchEfiVariables = true; 8 + }; 9 + }
+65
system/configuration.nix
··· 1 + { 2 + pkgs, 3 + systemSettings, 4 + ... 5 + }: let 6 + nvidia = 7 + if builtins.elem "nvidia" systemSettings.videoDrivers 8 + then ./nvidia.nix 9 + else ./none.nix; 10 + in { 11 + imports = [ 12 + ./bootloader.nix 13 + ./hardware-configuration.nix 14 + ./networking.nix 15 + ./locale.nix 16 + ./xserver.nix 17 + ./fonts.nix 18 + ./sound.nix 19 + ./user.nix 20 + ./nix.nix 21 + ./flatpak.nix 22 + 23 + nvidia 24 + ./${systemSettings.displayManager}.nix 25 + ./${systemSettings.desktop}.nix 26 + ]; 27 + 28 + # Allow unfree packages 29 + 30 + # List packages installed in system profile. To search, run: 31 + # $ nix search wget 32 + environment.systemPackages = with pkgs; [ 33 + vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. 34 + # wget 35 + alejandra 36 + nixd 37 + ]; 38 + 39 + # Some programs need SUID wrappers, can be configured further or are 40 + # started in user sessions. 41 + # programs.mtr.enable = true; 42 + # programs.gnupg.agent = { 43 + # enable = true; 44 + # enableSSHSupport = true; 45 + # }; 46 + 47 + # List services that you want to enable: 48 + 49 + # Enable the OpenSSH daemon. 50 + # services.openssh.enable = true; 51 + 52 + # Open ports in the firewall. 53 + # networking.firewall.allowedTCPPorts = [ ... ]; 54 + # networking.firewall.allowedUDPPorts = [ ... ]; 55 + # Or disable the firewall altogether. 56 + # networking.firewall.enable = false; 57 + 58 + # This value determines the NixOS release from which the default 59 + # settings for stateful data, like file locations and database versions 60 + # on your system were taken. It‘s perfectly fine and recommended to leave 61 + # this value at the release version of the first install of this system. 62 + # Before changing this value read the documentation for this option 63 + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 64 + system.stateVersion = "24.05"; # Did you read the comment? 65 + }
+17
system/flatpak.nix
··· 1 + {...}: { 2 + services.flatpak = { 3 + enable = true; 4 + packages = [ 5 + { 6 + flatpakref = "https://sober.vinegarhq.org/sober.flatpakref"; 7 + sha256 = "1pj8y1xhiwgbnhrr3yr3ybpfis9slrl73i0b1lc9q89vhip6ym2l"; 8 + } 9 + ]; 10 + overrides = { 11 + "org.vinegarhq.Sober".Environment = { 12 + # do not touch, makes sober run on the iGPU and not crash lol 13 + VK_DRIVER_FILES = "/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json"; 14 + }; 15 + }; 16 + }; 17 + }
+6
system/fonts.nix
··· 1 + {pkgs, ...}: { 2 + fonts.packages = with pkgs; [ 3 + jetbrains-mono 4 + nerd-fonts.jetbrains-mono 5 + ]; 6 + }
+41
system/hardware-configuration.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, pkgs, modulesPath, ... }: 5 + 6 + { 7 + imports = 8 + [ (modulesPath + "/installer/scan/not-detected.nix") 9 + ]; 10 + 11 + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; 12 + boot.initrd.kernelModules = [ ]; 13 + boot.kernelModules = [ "kvm-intel" ]; 14 + boot.extraModulePackages = [ ]; 15 + 16 + fileSystems."/" = 17 + { device = "/dev/disk/by-uuid/04264672-853c-4cf3-9ac5-b1ca15c2d16f"; 18 + fsType = "ext4"; 19 + }; 20 + 21 + boot.initrd.luks.devices."luks-07e416e1-0e5c-4b07-b494-5f538836950e".device = "/dev/disk/by-uuid/07e416e1-0e5c-4b07-b494-5f538836950e"; 22 + 23 + fileSystems."/boot" = 24 + { device = "/dev/disk/by-uuid/C3B5-9A84"; 25 + fsType = "vfat"; 26 + options = [ "fmask=0077" "dmask=0077" ]; 27 + }; 28 + 29 + swapDevices = [ ]; 30 + 31 + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 32 + # (the default) this is the recommended approach. When using systemd-networkd it's 33 + # still possible to use this option, but it's recommended to use it in conjunction 34 + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 35 + networking.useDHCP = lib.mkDefault true; 36 + # networking.interfaces.enp2s0f1.useDHCP = lib.mkDefault true; 37 + # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; 38 + 39 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 40 + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 41 + }
+21
system/locale.nix
··· 1 + {systemSettings, ...}: { 2 + 3 + time.timeZone = systemSettings.timezone; 4 + 5 + i18n.defaultLocale = systemSettings.language; 6 + 7 + i18n.extraLocaleSettings = { 8 + LC_ADDRESS = systemSettings.country; 9 + LC_IDENTIFICATION = systemSettings.country; 10 + LC_MEASUREMENT = systemSettings.country; 11 + LC_MONETARY = systemSettings.country; 12 + LC_NAME = systemSettings.country; 13 + LC_NUMERIC = systemSettings.country; 14 + LC_PAPER = systemSettings.country; 15 + LC_TELEPHONE = systemSettings.country; 16 + LC_TIME = systemSettings.country; 17 + }; 18 + 19 + console.keyMap = systemSettings.kbLayout; 20 + services.xserver.xkb.layout = systemSettings.kbLayout; 21 + }
+6
system/networking.nix
··· 1 + {systemSettings, ...}: { 2 + networking = { 3 + networkmanager.enable = true; 4 + hostName = systemSettings.hostname; 5 + }; 6 + }
+16
system/nix.nix
··· 1 + { 2 + inputs, 3 + userSettings, 4 + ... 5 + }: { 6 + nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"]; 7 + nixpkgs.config.allowUnfree = true; 8 + nix.settings.experimental-features = ["flakes" "nix-command"]; 9 + 10 + programs.nh = { 11 + enable = true; 12 + flake = "/home/${userSettings.username}/dotfiles"; 13 + clean.enable = true; 14 + clean.dates = "daily"; 15 + }; 16 + }
+1
system/none.nix
··· 1 + {...}: {}
+12
system/nvidia.nix
··· 1 + {systemSettings, ...}: { 2 + hardware.nvidia = { 3 + modesetting.enable = true; 4 + nvidiaSettings = true; 5 + open = false; 6 + prime = { 7 + intelBusId = systemSettings.iGPUBusId; 8 + nvidiaBusId = systemSettings.dGPUBusId; 9 + sync.enable = true; 10 + }; 11 + }; 12 + }
+3
system/plasma.nix
··· 1 + {...}: { 2 + services.desktopManager.plasma6.enable = true; 3 + }
+3
system/sddm.nix
··· 1 + {...}: { 2 + services.displayManager.sddm.enable = true; 3 + }
+10
system/sound.nix
··· 1 + {...}: { 2 + security.rtkit.enable = true; 3 + services.pipewire = { 4 + enable = true; 5 + alsa.enable = true; 6 + alsa.support32Bit = true; 7 + pulse.enable = true; 8 + jack.enable = true; 9 + }; 10 + }
+7
system/user.nix
··· 1 + {userSettings, ...}: { 2 + users.users.${userSettings.username} = { 3 + isNormalUser = true; 4 + description = userSettings.fullName; 5 + extraGroups = userSettings.groups; 6 + }; 7 + }
+11
system/xserver.nix
··· 1 + {systemSettings, ...}: { 2 + services.xserver = { 3 + enable = true; 4 + videoDrivers = systemSettings.videoDrivers; 5 + }; 6 + 7 + hardware.graphics = { 8 + enable = true; 9 + enable32Bit = true; 10 + }; 11 + }
+3
user/discord.nix
··· 1 + {pkgs, ...}: { 2 + home.packages = [ pkgs.discord ]; 3 + }
+3
user/firefox.nix
··· 1 + {...}: { 2 + programs.firefox.enable = true; 3 + }
+5
user/gleam.nix
··· 1 + {pkgs, ...}: { 2 + 3 + home.packages = [ pkgs.gleam pkgs.exercism ]; 4 + 5 + }
+20
user/home.nix
··· 1 + {userSettings, ...}: { 2 + imports = [ 3 + ./discord.nix 4 + ./vscode.nix 5 + ./${userSettings.browser}.nix 6 + ./nixvim.nix 7 + ./gleam.nix 8 + ]; 9 + # Home Manager needs a bit of information about you and the paths it should 10 + # manage. 11 + home.username = "folo"; 12 + home.homeDirectory = "/home/folo"; 13 + 14 + nixpkgs.config.allowUnfree = true; 15 + 16 + home.stateVersion = "24.05"; # Please read the comment before changing. 17 + 18 + # Let Home Manager install and manage itself. 19 + programs.home-manager.enable = true; 20 + }
+7
user/nix.nix
··· 1 + {pkgs, ...}: { 2 + nixpkgs.config.allowUnfree = true; 3 + home.packages = with pkgs; [ 4 + nixd 5 + alejandra 6 + ]; 7 + }
+24
user/nixvim.nix
··· 1 + {inputs, ...}: { 2 + imports = [ 3 + inputs.nixvim.homeManagerModules.nixvim 4 + ]; 5 + programs.nixvim = { 6 + enable = true; 7 + colorschemes.gruvbox.enable = true; 8 + plugins = { 9 + web-devicons.enable = true; 10 + bufferline.enable = true; 11 + lualine.enable = true; 12 + lsp = { 13 + enable = true; 14 + servers = { 15 + lua_ls.enable = true; 16 + # rust-analyzer.enable = true; 17 + clangd.enable = true; 18 + csharp_ls.enable = true; 19 + nixd.enable = true; 20 + }; 21 + }; 22 + }; 23 + }; 24 + }
+1
user/none.nix
··· 1 + {...}: {}
+57
user/vscode.nix
··· 1 + { 2 + pkgs, 3 + systemSettings, 4 + userSettings, 5 + ... 6 + }: { 7 + programs.vscode = { 8 + enable = true; 9 + extensions = with pkgs.vscode-extensions; [ 10 + jnoortheen.nix-ide 11 + jdinhlife.gruvbox 12 + gleam.gleam 13 + ms-dotnettools.csdevkit 14 + ms-python.python 15 + ms-vscode.cpptools 16 + ms-vscode.cmake-tools 17 + rust-lang.rust-analyzer 18 + golang.go 19 + ]; 20 + userSettings = { 21 + "nix.serverPath" = "nixd"; 22 + "nix.enableLanguageServer" = true; 23 + "nix.serverSettings" = { 24 + "nixpkgs" = { 25 + "expr" = "import <nixpkgs> { }"; 26 + }; 27 + 28 + "nixd" = { 29 + "formatting" = { 30 + "command" = ["alejandra"]; 31 + }; 32 + }; 33 + 34 + "options" = { 35 + "nixos" = { 36 + "expr" = "(builtins.getFlake \"/home/${userSettings.username}/dotfiles/\").nixosConfigurations.${systemSettings.hostname}.options"; 37 + }; 38 + "home_manager" = { 39 + "expr" = "(builtins.getFlake \"/home/${userSettings.username}/dotfiles/\").homeConfigurations.\"${userSettings.username}\".options"; 40 + }; 41 + }; 42 + }; 43 + 44 + "editor.formatOnSave" = true; 45 + "files.autoSave" = "afterDelay"; 46 + "workbench.colorTheme" = "Gruvbox Dark Medium"; 47 + "editor.cursorStyle" = "underline"; 48 + "editor.cursorBlinking" = "smooth"; 49 + "editor.fontFamily" = "JetBrains Mono"; 50 + "editor.fontigatures" = true; 51 + "editor.fontSize" = 15; 52 + "terminal.integrated.fontFamily" = "JetBrains Mono"; 53 + "terminal.integrated.cursorStyle" = "underline"; 54 + "terminal.integrated.cursorBlinking" = true; 55 + }; 56 + }; 57 + }