It's been a year since I started using NixOS. I feel like I've added enough stuff to my desktop, but every now and then, there's just that one thing I want to automate. My workflow is almost entirely keyboard driven!

My config source code is available, including my servers'. You can find them here.

Yes, my config is almost at 10k lines. Definitely over that if I include my Emacs config. 10k lines

I found this very cool project called wlr-which-key. It allows you to have vim-like bindings outside vim. wlr-which-key

enslaved windows

Music player I am working on. I couldn't find a TUI music player that works with OpenSubsonic. My music player

  • Window manager: niri
  • Top bar: ags, source available here!
  • Cursor: Miku cursor
  • Editor: Nixvim (Neovim configured with Nix)
  • Music player: Feishin (The one I am working on doesn't support Mpris yet)
  • Programs in the screenshot: kitty + bash (terminal), xfreerdp + dockur (Windows in Linux), fnott + KDEConnect (notification in the corner)

Wallpaper: Hatsune Creation Myth

Music at the top: Garakuta Neverland, recently discovered it and I love it!

all 10 comments

sorted by: hot top controversial new old
[–] 9 points 1 year ago (2 children)

Centralized/standardised/replicateable config for the entire OS and all apps is cool n all, but 10,000 lines in a single config file seems kinda ass. Does Nix let you import chunks of your config from separate files?

  • source
  • hideshow 2 child comments
  • [–] [S] 9 points 1 year ago* (1 child)

    Of course they do, otherwise it would be exactly how you would expect it to be. It's split across 178 .nix files, though a chunk of them are server configs. I need them on my desktop because I rebuild my servers from my desktop.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 1 year ago (1 child)

    What is Windows for Docker?

  • source
  • hideshow 1 child comment
  • [–] [S] 12 points 1 year ago* (last edited 1 year ago)

    You can run Windows in a Docker/Podman container and connect to it via RDP to get Windows in Linux. I use it for some Office Word stuff. Project name is dockur. The entire command to launch this is basically this:

    # Run container
    docker run -d --name windows --env CPU_CORES=4 --env DISK_SIZE=64G --env HOME=/home/main/Windows --env LANGUAGE=Korean --env PASSWORD=Password --env RAM_SIZE=4G --env USERNAME=Windows --env VERSION=10 --device /dev/kvm --device /dev/net/tun --publish 8006:8006 --publish 3389:3389/tcp --publish 3389:3389/udp --volume ~/Windows/data:/data --volume ~/Windows/storage:/storage ghcr.io/dockur/windows:latest
    
    # Connect to it
    xfreerdp /cert:tofu /d:"" /u:"Windows" /p:"Password" /scale:100 -grab-keyboard +clipboard /t:Windows +home-drive -wallpaper +dynamic-resolution /v:"127.0.0.1"
    

    I bind this to Win+Shift+r w.

  • source
  • parent
  • [–] 3 points 1 year ago

    nixos is my dreamos

  • source
  • [–] 3 points 1 year ago (1 child)

    Cool, what do you do with it?

    spoiler/ s

  • source
  • hideshow 1 child comment
  • [–] 1 point 1 year ago (1 child)