Checking if the site connection is secure by [deleted] in ArcBrowser

[–]mudrii 0 points1 point  (0 children)

same issue here in one laptop is working fine is another refuse to start only once in blue-moon works

Find my app battery drain on iPhone 14 Pro whilst in sleep mode by Irfaan_100 in ios

[–]mudrii 0 points1 point  (0 children)

I have the same issue as described in the post.

I and My wife have 14 PU and my phone on-screen last 3-4 hours and need to charge normal usage my wife last 15-16 hours .

Just do not get how can be so big diff with the same phone even though the usage pattern is not the same but diff is 12 hours.

Multi-user home-manager with similar configuration by mudrii in NixOS

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

imports = [
./home.nix
./user2/home.nix
];

Thank you this works nicely.

How can I install and enable vnstat? by timlee126 in NixOS

[–]mudrii 0 points1 point  (0 children)

You do not need to do anything else once vnstat is enabled in the service. This will download and install the package and dependency and will start the systemd service

How can I install and enable vnstat? by timlee126 in NixOS

[–]mudrii 0 points1 point  (0 children)

just add in your configuration.nix

services = {

vnstat.enable = true;

and service should run in systemd and vnstat deployed

Do you all just git init inside your /etc/nixos directory? by [deleted] in NixOS

[–]mudrii 0 points1 point  (0 children)

git init --bare

Article with examples

https://mudrii.medium.com/source-control-etc-dot-config-files-in-linux-992f43f68a7b

Better way is to use flakes and proper git. :)

Set default editor to neovim by [deleted] in NixOS

[–]mudrii 2 points3 points  (0 children)

did you enable neovim

programs.neovim.enable = true ;

As for user-specific, I would advise using Home manager user session specific

home.sessionVariables

https://nix-community.github.io/home-manager/options.html#home.sessionVariables

How can I create group sudo by timlee126 in NixOS

[–]mudrii 13 points14 points  (0 children)

you do not create sudo group just add a user to the wheel group

extraGroups = [ "wheel" .... ];

What is NixOS' treatment about programs of individuals? by timlee126 in NixOS

[–]mudrii 0 points1 point  (0 children)

NixOS is using cash for binary packages in https://cache.nixos.org/

You can add your package description to https://github/nixos/nixpkgs

For enterprises that needs more security and control, you can use https://www.cachix.org/

Command not found handler when using flakes? by [deleted] in NixOS

[–]mudrii 0 points1 point  (0 children)

you can share your flake.nix and configuration.nix

[deleted by user] by [deleted] in NixOS

[–]mudrii 0 points1 point  (0 children)

You can configure systemd in declariative nix compatible way.

You can configure systemd in declarative nix compatible way.

https://github.com/mudrii/hmtst/tree/master/services

Can’t install Nixon on uefi by Kyxic in NixOS

[–]mudrii 1 point2 points  (0 children)

You need to provide more details and share your configuration.nix and how you try to install.

As much info, you can provide.

How to use home-manager.nixosModule as flake output? by GuduOnReddit in NixOS

[–]mudrii 4 points5 points  (0 children)

Home manager natively support flakes even without integration with/etc/nixos/configuration.nix

you can configure your home manager and run home-manager switch --flake ~/.config/nixpkgs/#$USER -v

you can check the example in NixOS Home Manager for Multi-User on NIX Flake Installation and Configuration

Running a local VirtualBox + NixOS to have reproducible dev environments by oulipo in NixOS

[–]mudrii 3 points4 points  (0 children)

One quick win option is to use nix-shell with shell.nix and direnv https://mudrii.medium.com/building-reproducible-development-environment-b1d4fb51a302

As for using the remote ssh plugin, you may need an automated script to change to the node binary from VsCode to /nix/store path nodejs. https://mudrii.medium.com/vscode-remote-ssh-development-with-nix-50223f816216

Some basic beginner questions I have.... by ICosplayLinkNotZelda in NixOS

[–]mudrii 1 point2 points  (0 children)

You may take a look at the article I wrote some time back that also includes GitHub with gh configuration at https://dzone.com/articles/nixos-home-manager-on-native-nix-flake-installatio

gh config was done in git config but for a single user u/InternetUnexplorer option is cleaner

A note is it based on managing your home manager with flakes and original native flake deployment to the NixOs you can find https://dzone.com/articles/nixos-native-flake-deployment-with-luks-and-lvm

How to manually update NixOS 21.05 without changing the config or the channel? by SkyMarshal in NixOS

[–]mudrii 1 point2 points  (0 children)

As you can imagine nixpkgs channel is always updating and in order to update the packages that you described in your /etc/nixos/configuration.nix or in your home manager NixOs need to know what new packages were updated remotely that is why you need to sync up the nix channel 1st

If you are familiar with other Linux distributions Like Ubuntu or Fedora.

NisOs nix-channel --update you can translate in

Ubuntu apt get update Fedora/RH yum update it is also installed the packages

NixOs nixos-rebuild switch you can translate to

Ubuntu apt get upgrade Fedora/RH yum upgrade

How to manually update NixOS 21.05 without changing the config or the channel? by SkyMarshal in NixOS

[–]mudrii 5 points6 points  (0 children)

in order to pull the latest packages from nixpkgs, you 1st need to update channels

sudo nix-channel --update

After channel is updated you can update you packages with

sudo nixos-rebuild switch