my nixos dotfiles :3 (git.koi.rip mirror) git.koi.rip/koi/dotfiles
linux dotfiles neovim nixos catppuccin
1
fork

Configure Feed

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

refact(home.modules): packages, xdg

adam 9dd81cdc 872fb599

+41 -37
+2 -34
home/adam.nix
··· 1 - { pkgs, config, ... }: 2 - 3 1 { 4 2 home = { 5 3 username = "adam"; ··· 9 7 10 8 imports = [ 11 9 ./modules/age.nix 10 + ./modules/xdg.nix 12 11 ./modules/theme.nix 12 + ./modules/packages.nix 13 13 ./modules/wallpaper.nix 14 - ./modules/dotfiles.nix 15 14 ./modules/programs 16 - ]; 17 - 18 - age = { 19 - identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; 20 - secrets = { 21 - chromium = { 22 - file = ../secrets/chromium.sh.age; 23 - mode = "0500"; 24 - path = "${config.home.homeDirectory}/.local/bin/chromium"; 25 - }; 26 - }; 27 - }; 28 - 29 - home.packages = with pkgs; [ 30 - prettyping 31 - fastfetch 32 - playerctl 33 - lsd 34 - jq 35 - 36 - nerd-fonts.fira-code 37 - wl-clipboard 38 - hyprpaper 39 - hyprcursor 40 - grim 41 - slurp 42 - 43 - nixd 44 - bash-language-server 45 - 46 - unstable.kitget 47 15 ]; 48 16 }
+2 -1
home/modules/dotfiles.nix home/modules/xdg.nix
··· 1 - { config, pkgs, ... }: 1 + { config, ... }: 2 2 3 3 let 4 4 dotfiles = "${config.home.homeDirectory}/dotfiles/external/config"; ··· 12 12 }; 13 13 in 14 14 { 15 + xdg.mimeApps.enable = true; 15 16 xdg.configFile = builtins.mapAttrs (name: subpath: { 16 17 source = create_symlink "${dotfiles}/${subpath}"; 17 18 recursive = true;
+23
home/modules/packages.nix
··· 1 + { pkgs, ... }: 2 + 3 + { 4 + home.packages = with pkgs; [ 5 + prettyping 6 + fastfetch 7 + playerctl 8 + lsd 9 + jq 10 + 11 + nerd-fonts.fira-code 12 + wl-clipboard 13 + hyprpaper 14 + hyprcursor 15 + grim 16 + slurp 17 + 18 + nixd 19 + bash-language-server 20 + 21 + unstable.kitget 22 + ]; 23 + }
+14 -2
home/modules/programs/chromium.nix
··· 1 + { config, ... }: 2 + 1 3 { 2 4 programs.chromium = { 3 5 enable = true; ··· 11 13 ]; 12 14 }; 13 15 16 + age = { 17 + identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; 18 + secrets = { 19 + chromium = { 20 + file = ../../../secrets/chromium.sh.age; 21 + mode = "0500"; 22 + path = "${config.home.homeDirectory}/.local/bin/chromium"; 23 + }; 24 + }; 25 + }; 26 + 27 + home.sessionVariables.DEFAULT_BROWSER = "chromium"; 14 28 xdg.mimeApps.defaultApplications = { 15 29 "text/html" = [ "chromium-browser.desktop" ]; 16 30 "x-scheme-handler/http" = [ "chromium-browser.desktop" ]; 17 31 "x-scheme-handler/https" = [ "chromium-browser.desktop" ]; 18 32 }; 19 - 20 - home.sessionVariables.DEFAULT_BROWSER = "chromium"; 21 33 }