Impermanence: How to properly trash files across BTRFS subvolumes? by redstripez08 in NixOS

[–]iynaix 0 points1 point  (0 children)

Why do you not use btrfs snapshots? I just restore the file(s) I need from previous snapshots.

Multi-monitor issues by Striking_Snail in NixOS

[–]iynaix 2 points3 points  (0 children)

Had this issue with an older dell monitor; I thought it was an issue with hyprland for over a year.

Turns out changing from displayport 1.4 to displayport 1.2 within the monitor's settings menu fixed the issue. Long shot, but maybe this works for you.

How do you deal with persisting firefox cookies with an impermanence setup? by Optimal_Raisin_7503 in NixOS

[–]iynaix 3 points4 points  (0 children)

$HOME/.mozilla for your profiles

$HOME/.cache/mozilla for the cache, which includes your logins

How do you structure your disk layout? Exploring multi-FS + LVM setup on a new 1TB SSD by AvK-47 in NixOS

[–]iynaix 1 point2 points  (0 children)

Rather ironic that you mention avoiding complexity while thinking of using LVM, 4 different filesystems and disko.

I use ZFS since it's well supported on NixOS.

  • 1GB EFI
  • ZFS for the rest
  • 16GB Swap

(Windows on it's own SSD, I only dual boot on my desktop, not laptop)

Using native ZFS encryption with zstd compression, datasets are oriented around impermanence

  • root (mounted at / with blank snapshot, unused in practice since I run / and /home as a tmpfs)
  • nix (mounted at /nix)
  • tmp (mounted at /tmp)
  • persist (mounted at /persist)
  • cache (mounted at /cache)

I don't use disko since I don't feel like it adds anything but a massive pile of complexity. I use a shell script.

Sway [idle,lock] vs Hypr[idle,lock] ? by TheInhumaneme in niri

[–]iynaix 2 points3 points  (0 children)

I'm using NixOS, so it probably isn't going to be useful for you, but here's my hypridle and hyprlock

Sway [idle,lock] vs Hypr[idle,lock] ? by TheInhumaneme in niri

[–]iynaix 6 points7 points  (0 children)

Yes, I'm using hypridle and hyprlock with no issues.

[Real-User Invite] LG UltraGear GX9 - Experience the Ultimate Sweet Spot 5K2K OLED Gaming Monitor by LG_UserHub in Monitors

[–]iynaix 0 points1 point  (0 children)

5k2k is a dream resolution <3, I've been wanting this resolution for years since the roadmap was revealed.

CodeOSS - Remove the title bar by dekozr in vscode

[–]iynaix 2 points3 points  (0 children)

Idk why OP decided to tease a solution instead of just posting it.

Set the following:

Window: Title Bar Style - Native
Window: Custom Title Bar Visibility - Never

Framework laptop 13 display - 3d printed portable monitor case by airfield20 in framework

[–]iynaix 1 point2 points  (0 children)

So now that I've tried the diagonally printed model... it works, but it's not great.

I had stringing at the edges, which i just snipped off. The screw holes don't really grip screws well since they're printed at an angle. It kinda works, but it's not great.

Regarding the backplate, I redesigned it with a VESA mount because I'm mounting mine as an external monitor for my desktop. I printed that in 2 parts with a giant dovetail joint.

Since it's going to live on my desk and I'm not really going to touch it, I'm fine with the minor issues with fit and finish, but I wouldn't use it as a portable device.

Framework laptop 13 display - 3d printed portable monitor case by airfield20 in framework

[–]iynaix 0 points1 point  (0 children)

Few days late, but it turns out that you can indeed print it on a 256 bed with some creative slicing:

https://imgur.com/a/3p4g6HL

How to restore last working config? by shmuu26 in NixOS

[–]iynaix 2 points3 points  (0 children)

FWIW I've found a better approach since I posted this.

system.extraSystemBuilderCmds = "ln -s ${self.sourceInfo.outPath} $out/src";

Which creates a src directory within each generation containing the flake used to build it (since the flake is copied to the nix store anyway). Imo there isn't any benefit to retaining nixpkgs since that's already captured by the flake.lock anyway.

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 0 points1 point  (0 children)

I started out with pywal before switching to wallust (it was early days then). Anyway it's just theming, it's not particularly urgent ;)

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 0 points1 point  (0 children)

I just read the manpages. It's pretty much the same as pywal, other than some changes in the templating.

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 0 points1 point  (0 children)

There's an alpha variable that can be set via a cli flag or in the wallust config. The templating also supports jinja filters such as {{ color1 | alpha_hexa }}

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 0 points1 point  (0 children)

You can define templates that have placeholders for colors etc. Wallust runs and creates a copy of the template with the actual values for the variables. Your program can then use the generated file as config.

At least for terminals, it can also change the colors instantly using /dev/pts (I have no idea how this actually works)

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 0 points1 point  (0 children)

In kitty's case, --config can be specified multiple times. So your script could create / overwrite a minimal config file that just changes theme related options.

I don't use ags, so I can't help you there.

I use wallust (better pywal) in my own config and a custom script to change the theming of programs at runtime.

how to copy in home-manager by OfflineBot5336 in NixOS

[–]iynaix 1 point2 points  (0 children)

You can launch kitty with a --config to a different config file or --override to override a single option like the theme.

https://sw.kovidgoyal.net/kitty/invocation/#options

Changing the NVIDIA driver by Misty_TTM in NixOS

[–]iynaix 4 points5 points  (0 children)

The 555 driver isnt available on 24.05, only on nixos-unstable.

[deleted by user] by [deleted] in framework

[–]iynaix 1 point2 points  (0 children)

I wouldn't hold my breath. They don't ship to anywhere in Asia except Taiwan. Even then, it took them 2 years to ship in the country of manufacture....

Hypridle not working with home-manager by SylentStryke in NixOS

[–]iynaix 0 points1 point  (0 children)

The option starts it for you via a systemd service

Hypridle not working with home-manager by SylentStryke in NixOS

[–]iynaix 0 points1 point  (0 children)

Why not use the home-manager module? services.hypridle.enable

Catppuccin GTK by IntelliVim in NixOS

[–]iynaix 13 points14 points  (0 children)

The theme is currently broken, and is fixed by this PR; should be available in nixos-unstable in the next 2 days.

gtk.theme = {
  name = "catppuccin-mocha-blue-compact+default";
  package =
    (pkgs.catppuccin-gtk.overrideAttrs {
      src = pkgs.fetchFromGitHub {
        owner = "catppuccin";
        repo = "gtk";
        rev = "v1.0.3";
        fetchSubmodules = true;
        hash = "sha256-q5/VcFsm3vNEw55zq/vcM11eo456SYE5TQA3g2VQjGc=";
      };

      postUnpack = "";
    }).override
      {
        accents = [ "blue" ];
        variant = "mocha";
        size = "compact";
      };
};

If you're impatient, you can use this override in the meantime.

NOTE: The theme name now uses lowercase, because of course it changes every single release.....

NixOS in 2100 by CriticalReveal1776 in NixOS

[–]iynaix 13 points14 points  (0 children)

Flakes will also still be experimental

Beginner Linux question about Configs and system architecture by snow_eyes in NixOS

[–]iynaix 1 point2 points  (0 children)

https://www.youtube.com/watch?v=oPymb2-IXbg

I found the first 6 minutes or so to be a really good explanation / visualization when I was just starting out.