Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Begins NixOS for a desktop option #576

Merged
merged 109 commits into from
Jun 28, 2024
Merged

Begins NixOS for a desktop option #576

merged 109 commits into from
Jun 28, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Apr 28, 2024

May relate to #527

Common

  • podman: Using podman in another OS and nix-shell is a hard thing, but NixOS officially supports it... # https://nixos.wiki/wiki/Podman
  • Terminal: Alacritty + Zellij => wezterm => wezterm(Useful and cross platform, but much unstable against wayland) + Alacritty(Too simple, but cross platform and much stable)
  • xremap: Great tool. I should add this for IME switcher and gnome lancher
  • dprint: prettier cache doesn't work. Use yamlfmt?
  • typos: typos-lsp has similar problem as dprint plugin, but it can set the absolute path by nix and nixpkgs provides typos-lsp itself
  • Display Manager & Desktop Manager: GNOME => Hyprland => KDE + gdm(cannot login with sddm) # Avoided COSMIC for that is only for X11 now
  • Browser: Chromium => Firefox => Unfree Chrome(Useful translator) + Firefox(Best in Wayland)
  • Firefox: Disable alt shortcut and add extensions (or sync with mozilla account?)
  • Clipboard history: clipcat => copyq => clipse => clipse & KDE clipboard
  • NixOS CI: We can't this?: https://hub.docker.com/r/nixos/nix is not a NixOS => Extracted to CI for NixOS #642
  • Update mozc config as adding Henkan and Muhenkan shortcut
  • Merge NixOS and home-manager: Why nixos-rebuid switch does not apply home-manager in that timing?
  • IME - just adding fcitx5 and xremap in nix does not resolve, need e8c93bc
  • Use Japanese for the UI and IME
  • Keep English for directory names. Adding xdg-user-dirs for system package doesn't fix this -> Can't realize in both GNOME and KDE plasma 6. I may resolve it as another task
  • How to avoid misusing ctrl + v: https://superuser-com.translate.goog/questions/421463/why-does-ctrl-v-not-paste-in-bash-linux-shell?_x_tr_sl=auto&_x_tr_tl=ja&_x_tr_hl=ja => Added setting in Wezterm
  • Tiling windows manager - https://github.com/swaywm/sway ? extracted to Tiling window manager for NixOS #528, (Tried Hypland, but wezterm is unstable even if nightly versions. So switched to KDE)
  • Update README
  • Enable default fonts
  • Put package for beedii
  • Exclude unused KDE packages
  • Install Signal
  • Install Steam => Looks annoy settings
  • Install Google Drive => Maybe resolved by rclone
  • Install Dropbox => Maybe resolved by rclone or unsubscribed
  • Install One Drive
  • Install Cloudflare.Warp
  • VM for Windows or another Linux/FreeBSD => May be address for https://www.reddit.com/r/NixOS/comments/177wcyi/best_way_to_run_a_vm_on_nixos/ as another task
  • Is there pdf editor? => No, at least for editing comment and layout in pages
  • Remove unused temporal code => All comments are my treasure for now
  • How to sync hardware-configuration? impure is not good? Should I store here? => I don't want to save the file for public...? So using impure switch for now

Device Specific

Retrospective

No good experience in the GUI, unstable chromium based apps, annoy wayland and IME, unstable wezterm
I should keep Windows for another Desktop machine. 😩

@kachick
Copy link
Owner Author

kachick commented Apr 28, 2024

@kachick
Copy link
Owner Author

kachick commented Apr 28, 2024

IME

image

Fcitx 5 Configuration => Activate Input Method & Deactivate Input Method => Add Henkan and Muhenkan

image

@@ -12,7 +12,6 @@ EnumerateSkipFirst=False
0=Control+space
1=Zenkaku_Hankaku
2=Hangul
3=Henkan
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May not default for the before 🤔


# https://github.com/NixOS/nixpkgs/issues/33282
xdg-user-dirs
vscodium
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about alias? But I don't reduce shims like code=codium

ripgrep

# https://github.com/NixOS/nixpkgs/issues/33282
xdg-user-dirs
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't work

nixos/flake.nix Outdated
{
name = "Global";
remap = {
"CapsLock" = "Ctrl_L";
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add keymap to realize CapsLock for fail-safe

kachick added a commit that referenced this pull request May 27, 2024
For a preparation part for #576

But I do not want to install vscode in user@linux because it is unfree
@kachick kachick marked this pull request as ready for review June 28, 2024 05:34
@kachick kachick added the deploy-staging Deploy staging container with this label label Jun 28, 2024
firefox does not support aarch64-apple-darwin

This comment has been minimized.

@kachick kachick merged commit aabac5c into main Jun 28, 2024
19 checks passed
@kachick kachick deleted the nixos branch June 28, 2024 06:56
Copy link
Contributor

🤖 removed 🗑️ staging ⬢ from ghcr.io

236364688

@kachick
Copy link
Owner Author

kachick commented Oct 6, 2024

Adding the option helped me a lot now. Having only Windows is much riskier. #818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-staging Deploy staging container with this label
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant