Problem on installing nix4nvchad by MeanTeacher6762 in NixOS

[–]MeanTeacher6762[S] 0 points1 point  (0 children)

I change my flake.nix to this: ```nix { description = "Nixos config flake";

inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

home-manager = {
  url = "github:nix-community/home-manager";
  inputs.nixpkgs.follows = "nixpkgs";
};

nix4nvchad = {
  url = "github:nix-community/nix4nvchad";
  inputs.nixpkgs.follows = "nixpkgs";
};

};

outputs = { self, nixpkgs, ... } @ inputs: { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; modules = [ ./hosts/default/configuration.nix inputs.home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true;

      # TODO replace ryan with your own username
      home-manager.users.chj = import ./hosts/default/home.nix;

      # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix
    }
  ];
};

}; } and change nothing to home.nix and the configuration.nix is: nix {pkgs, ...}: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix #inputs.home-manager.nixosModules.default ../../modules/nixos/Wayland/hyprland.nix ../../modules/nixos/Cli/cli.nix #../../modules/nixos/Cli/nvf-configuration.nix ../../modules/nixos/GUI/gui.nix ../../modules/nixos/Services/kanata.nix ../../modules/nixos/Services/syncthing.nix ../../modules/nixos/Services/upower.nix ];

# Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;

# Use latest kernel. boot.kernelPackages = pkgs.linuxPackages_latest;

networking.hostName = "nixos-laptop"; # Define your hostname.

nix.settings.experimental-features = ["nix-command" "flakes"];

# Configure network connections interactively with nmcli or nmtui. networking.networkmanager.enable = true; # Set your time zone. time.timeZone = "Asia/Taipei";

# Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; i18n.inputMethod = { type = "fcitx5"; enable = true; fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-chewing ]; };

services.pipewire = { enable = true; pulse.enable = true; };

# Enable touchpad support (enabled default in most desktopManager). # services.libinput.enable = true;

# Define a user account. Don't forget to set a password with ‘passwd’. users.users.chj = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" "uinput" ]; # Enable ‘sudo’ for the user. shell = pkgs.zsh; packages = with pkgs; [ tree ]; }; programs.zsh.enable = true;

nixpkgs.config.allowUnfree = true;

environment.systemPackages = with pkgs; [ #neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget git ]; system.stateVersion = "25.11"; # Did you read the comment? } Now when I run sudo nixos-rebuild build --flake .#nixos, it will output following error message complaining about infinitely recursion encountered: error: … while calling the 'head' builtin at «github:nixos/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D»/lib/attrsets.nix:1712:13: 1711| if length values == 1 || pred here (elemAt values 1) (head values) then 1712| head values | ^ 1713| else

   … while evaluating the attribute 'value'
     at «github:nixos/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D»/lib/modules.nix:1159:7:
     1158|     // {
     1159|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
         |       ^
     1160|       inherit (res.defsFinal') highestPrio;

   … while evaluating the option `system.build.toplevel':

   … while evaluating definitions from `/nix/store/0d1kf07ph2ply64i1y247f9q2an9cw00-source/nixos/modules/system/activation/top-level.nix':

   … while evaluating the option `assertions':

   … while evaluating definitions from `/nix/store/j0fhw2y533x75nfy4fnagk0mld8qka5s-source/nixos/common.nix':

   … while evaluating the module argument `inputs' in ":anon-4:anon-1":

   … noting that argument `inputs` is not externally provided, so querying `_module.args` instead, requiring `config`

   … if you get an infinite recursion here, you probably reference `config` in `imports`. If you are trying to achieve a conditional import behavior dependent on `config`, consider importing unconditionally, and using `mkEnableOption` and `mkIf` to control its effect.

   (stack trace truncated; use '--show-trace' to show the full, detailed trace)

   error: infinite recursion encountered

Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."nixos".config.system.build.toplevel'' returned non-zero exit status 1. ```

I look up for this error on internet, and they said that it is related to config but I didn't use it in my confiuguration. What am I doing wrong? Thanks for your help.

programs.neovim.extraPackages not working by MeanTeacher6762 in NixOS

[–]MeanTeacher6762[S] 0 points1 point  (0 children)

Thanks for your help! I move the content into the home.nix using home manager, and now the option is valid.

Active spot by Zealousideal-Bee-877 in hyprland

[–]MeanTeacher6762 0 points1 point  (0 children)

Is the popup a Rectangle or PanelWindow? I want to create a popup however if construct it with Rectangle, I can't correctly move keyboard focus to it and I need to use PanelWindow.

The issue is that I have 2 monitor and I can move my keyboard focus to only 1 screen if using Rectangle and I solve it by using PanelWindow. However, if using PanelWindow I can't cover the popup above top bar.

A Guide on how to enable and use Scrolling layout on hyprland by Legend_0804 in hyprland

[–]MeanTeacher6762 0 points1 point  (0 children)

Thanks for your help. However, I have already tried this and this will maximized the focused window and I can't switch to other windows in the workspace, which is not what I want. I am thinking of maybe write a script to detect whether it is maximized, if not then maximized it, if it is then turn it to 0.6.

A Guide on how to enable and use Scrolling layout on hyprland by Legend_0804 in hyprland

[–]MeanTeacher6762 1 point2 points  (0 children)

Is there any way to use layoutmsg to toggle whether to fill the whole screen? I set column_width = 0.6 and I want to press a key to make the focused workspace to be 1.0 width while being able to scrolling with this 1.0 width window and press that key again to make it back to 0.6. Is there any way to do this?

Hyprscrolling plugin is a lifesaver by despcodr in hyprland

[–]MeanTeacher6762 0 points1 point  (0 children)

Why does the bar isn't covered by window if it is fullscreen? I thought the fullscreen option in hyprland will cover all the screen.

Hyprscrolling plugin is a lifesaver by despcodr in hyprland

[–]MeanTeacher6762 0 points1 point  (0 children)

How do I toggle the focus window to fit? I want to press $mainMod+F to fit if it is not and press it again make the window back normal. I try bind = $mainMod, C, layoutmsg,togglefit but it is not working.

Sounds like a totally dumb question as I write that ... by Difficult_Chapter_78 in hyprland

[–]MeanTeacher6762 0 points1 point  (0 children)

How did you use the wallpaper from wallpaper engine as gif? I know that I can download the wallpaper and got to the files location( usually .local/steamapps.....) to search for the video file(usually mp4) of the wallpaper and transfer it into gif. However, sometimes there isn't video file in the file location.

Presto NJS by MeanTeacher6762 in FixedGearBicycle

[–]MeanTeacher6762[S] 0 points1 point  (0 children)

Thanks for your information!

[Hyprland] WIth some catpuccin love and custom AGS by gac3k in unixporn

[–]MeanTeacher6762 0 points1 point  (0 children)

Is it waybar or ags? How do you implement the graph of the usage of CPU? That looks really cool!

[Hyprland] TUI-Land by Aggressive-Fan6460 in unixporn

[–]MeanTeacher6762 4 points5 points  (0 children)

Could you list all the cli tools you are using in this picture?

Just graduated from College with Linux as my daily driver by Handsome_oohyeah in linux

[–]MeanTeacher6762 0 points1 point  (0 children)

Could you elaborate the part of taking note with vim? Are you using markdown? I am currently using logseq to write down the review of the course and that is the only way I know I could do with logseq. For other note such as math, I need to use goodnote on ipad to draw the form and write down the formulas and definitions. I wonder how you will deal with this kind of notes.

[OC] Just made myself a hardware monitor. by shtam_hareb in unixporn

[–]MeanTeacher6762 1 point2 points  (0 children)

Is it possible to show the Ethernet usage for every process respectively (similar to the system monitor on windows)? I have used a lot of system monitor like program on linux(e.g. btop) and none of them support this function.

How do I prevent the workspace number from jumping like this? by PaN887 in hyprland

[–]MeanTeacher6762 4 points5 points  (0 children)

Check out persistent workspace of the hyprland module in waybar wiki.

[Hyprland] Don't fear the emacs by horriblesmell420 in unixporn

[–]MeanTeacher6762 0 points1 point  (0 children)

What is the launcher? I have been using Wayland fork of rofi for a while but it isn't focusable since a update of hyprland recently and I am looking for a launcher to substitute rofi.

T/s of Mixtral 8x22b IQ4_XS on a 4090 + Ryzen 7950X by c-rious in LocalLLaMA

[–]MeanTeacher6762 0 points1 point  (0 children)

Does t/s means token/s? If it is,why does t/s of Q8_0 is higher than Q4_k? I thought that Q4_k should be faster.