don't set trusted-users AND allowed-users

allowed-users will override trusted-users
This commit is contained in:
Gerg-L 2023-02-15 22:53:36 -05:00
parent dc2db4a9bc
commit 50c3198e03
6 changed files with 29 additions and 23 deletions

View file

@ -34,12 +34,12 @@
#paste link trick
pastebin = "curl -F 'clbin=<-' https://clbin.com";
#nix stuff
update = "nix flake update /etc/nixos/#";
switch = "nixos-rebuild switch";
boot = "nixos-rebuild boot";
clean = "nix-collect-garbage -d";
gc-force = "rm /nix/var/nix/gcroots/auto/*";
gc-check = "find -H /nix/var/nix/gcroots/auto -type l | xargs -I {} sh -c 'readlink {}; realpath {}; echo' | page";
nix-update = "nix flake update /etc/nixos/# ";
nix-switch = "nixos-rebuild switch --use-remote-sudo";
nix-boot = "nixos-rebuild boot --use-remote-sudo";
nix-clean = "nix-collect-garbage -d";
nix-gc-force = "rm /nix/var/nix/gcroots/auto/*";
nix-gc-check = "sudo nix-store --gc --print-roots | egrep -v \"^(/nix/var|/run/\w+-system|\{memory|/proc)\"";
#vim stuff
vi = "nvim";
vim = "nvim";

View file

@ -2,13 +2,9 @@
pkgs,
settings,
...
}: let
mpkgs = import master {
inherit (pkgs) system;
};
in {
}:{
environment.systemPackages = [
mpkgs.maim #screenshooter
master.legacyPackages.${pkgs.system}.maim #screenshooter
pkgs.brightnessctl #brightness control for laptop
pkgs.playerctl #music control
pkgs.xclip

View file

@ -26,7 +26,7 @@ _: {
};
};
environment = {
systemPackages = with pkgs; [virt-manager];
systemPackages = [pkgs.virt-manager];
shellAliases = {
vm-start = "virsh start Windows";
vm-stop = "virsh shutdown Windows";