[-] [email protected] 1 points 9 months ago

Could you provide the source?

[-] [email protected] 3 points 10 months ago

She's there to meet her girlfriend who's a teacher at elementary school

0
anime_irl (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]

Even though we're adults

4
anime_irl (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]

Goodbye Eri

31
anime_irl (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]

Mission: Yozakura Family

4
anime_irl (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]

goodbye eri

18
anime_irl (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]

Mission: Yozakura Family

7
submitted 11 months ago by [email protected] to c/[email protected]

like in this post, how do you use another language for configuration? Do you use another language to generate others? Am I misunderstanding something? I am very confused

16
anime_irl (programming.dev)
submitted 11 months ago by [email protected] to c/[email protected]

Yotsuba&!

[-] [email protected] 1 points 11 months ago

I recently dual booted NixOS with Linux Mint and mounted /boot partition of NixOS to /boot/efi partition of Linux Mint (since it says on the wiki that NixOS uses UEFI partition as /boot directory). I didn't have any issue since I was using systemd-boot. Did you mount the partitions correctly?

[-] [email protected] 5 points 11 months ago

I got this working with security.sudo.extraConfig

{config, pkgs, ... }:
{ ...
   security.sudo.extraConfig = ''
      # Allow wheel group to run specific commands without a password
     %wheel ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/cryptsetup
     %wheel ALL=(ALL) NOPASSWD: /run/wrappers/bin/mount
    '';
...
}
[-] [email protected] 2 points 11 months ago

thanks, but I don't wanna disable sudo password. I only want certain commands to be accessible without password.

10
submitted 11 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]

Hi, I just started with Nixos a week ago, I have a problem configuring the system. I apologize for this long post. I want to configure configuration.nix for sudo to run commands without passwd. I am confused about the path of the packages. I tried entering path returned by $ which cryptsetup like

security.sudo = {
       enable = true;
       configFile = ''
         %sudo ALL = (root) NOPASSWD: /run/current-system/sw/bin/cryptsetup
         %sudo ALL = (root) NOPASSWD: /run/current-system/sw/bin/lvs
       '';
  };

and as shown in nixos wiki like the following

security.sudo = {
  enable = true;
  extraRules = [{
    commands = [
      {
        command = "${pkgs.systemd}/bin/cryptsetup";
        options = [ "NOPASSWD" ];
      }
    ];
    groups = [ "wheel" ];
  }];
};

I don't get any errors on nixos-rebuild test/switch but I can't get it to work. I'll appreciate if you can help me understand this. Thanks in advance

1
anime_irl (programming.dev)
submitted 11 months ago by [email protected] to c/[email protected]

Yofukashi no uta

MustardCornbread

joined 11 months ago