this repo has no description
0
fork

Configure Feed

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

fix(sway): switch hardware-specific config to plain file

+30 -28
+7 -7
hosts/ryzentower/default.nix
··· 76 76 77 77 home-manager = { 78 78 users.khuedoan = { 79 - wayland.windowManager.sway = { 80 - config = { 81 - output = { 82 - "DP-3" = { 83 - mode = "2560x1440@180hz"; 84 - }; 85 - }; 79 + home = { 80 + file = { 81 + ".config/sway/config.d/hardware".text = '' 82 + output "DP-3" { 83 + mode 2560x1440@180Hz 84 + } 85 + ''; 86 86 }; 87 87 }; 88 88 };
+23 -21
users/khuedoan.nix
··· 62 62 useGlobalPkgs = true; 63 63 useUserPackages = true; 64 64 users.khuedoan = { 65 - home.stateVersion = "23.05"; 66 - home.activation = { 67 - # TODO optimize this? 68 - dotfiles = '' 69 - set -eu 65 + home = { 66 + stateVersion = "23.05"; 67 + activation = { 68 + # TODO optimize this? 69 + dotfiles = '' 70 + set -eu 70 71 71 - [ -d ~/.git ] \ 72 - || ${pkgs.git}/bin/git init \ 73 - && ${pkgs.git}/bin/git config status.showUntrackedFiles no \ 74 - && ${pkgs.git}/bin/git remote add origin https://github.com/khuedoan/dotfiles \ 75 - && (until ${pkgs.iputils}/bin/ping -c 1 github.com; do sleep 1; done) \ 76 - && ${pkgs.git}/bin/git pull origin master \ 77 - && ${pkgs.git}/bin/git branch --set-upstream-to=origin/master master 72 + [ -d ~/.git ] \ 73 + || ${pkgs.git}/bin/git init \ 74 + && ${pkgs.git}/bin/git config status.showUntrackedFiles no \ 75 + && ${pkgs.git}/bin/git remote add origin https://github.com/khuedoan/dotfiles \ 76 + && (until ${pkgs.iputils}/bin/ping -c 1 github.com; do sleep 1; done) \ 77 + && ${pkgs.git}/bin/git pull origin master \ 78 + && ${pkgs.git}/bin/git branch --set-upstream-to=origin/master master 78 79 79 - [ -d ~/Pictures/Wallpapers ] \ 80 - || ${pkgs.curl}/bin/curl \ 81 - --location \ 82 - https://github.com/user-attachments/assets/b63195d0-7fe3-4ab5-95c7-20127123836c \ 83 - --output ~/Pictures/Wallpapers/astronaut-jellyfish.jpg \ 84 - --create-dirs 80 + [ -d ~/Pictures/Wallpapers ] \ 81 + || ${pkgs.curl}/bin/curl \ 82 + --location \ 83 + https://github.com/user-attachments/assets/b63195d0-7fe3-4ab5-95c7-20127123836c \ 84 + --output ~/Pictures/Wallpapers/astronaut-jellyfish.jpg \ 85 + --create-dirs 85 86 86 - [ -d ~/.ssh ] \ 87 - || ${pkgs.openssh}/bin/ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N "" 88 - ''; 87 + [ -d ~/.ssh ] \ 88 + || ${pkgs.openssh}/bin/ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N "" 89 + ''; 90 + }; 89 91 }; 90 92 services = { 91 93 easyeffects.enable = true;