Change subuid, add brlaser workaround
This commit is contained in:
parent
a79b9b8fe6
commit
6799ee3baa
|
@ -57,7 +57,17 @@
|
|||
];
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [ pkgs.brlaser ];
|
||||
drivers = [
|
||||
(pkgs.brlaser.overrideAttrs (old: {
|
||||
patches = [
|
||||
(pkgs.fetchpatch {
|
||||
name = "l2300d-fix.patch";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/pdewacht/brlaser/pull/68.patch";
|
||||
sha256 = "07iqv048q0iplghn0aamjslyixw1p5jbk004i20xnl1vs95nyqzy";
|
||||
})
|
||||
];
|
||||
}))
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -87,9 +97,11 @@
|
|||
isNormalUser = true;
|
||||
description = "Artemis Tosini";
|
||||
uid = 1000;
|
||||
extraGroups = [ "wheel" "docker" "lxd" ];
|
||||
extraGroups = [ "wheel" ];
|
||||
group = "artemis";
|
||||
# hashedPassword set in private
|
||||
};
|
||||
groups.artemis.gid = config.users.artemis.uid;
|
||||
mutableUsers = false;
|
||||
};
|
||||
systemd.extraConfig = "DefaultLimitCORE=infinity";
|
||||
|
|
|
@ -160,9 +160,7 @@ in
|
|||
firefox-wayland
|
||||
|
||||
# Communication
|
||||
discord
|
||||
signal-desktop
|
||||
slack
|
||||
tdesktop
|
||||
|
||||
# Gnome configuration
|
||||
|
@ -175,9 +173,6 @@ in
|
|||
numix-icon-theme
|
||||
numix-icon-theme-circle
|
||||
|
||||
# Games
|
||||
steam-run
|
||||
|
||||
# Dictionaries
|
||||
]) ++ (with pkgs.hunspellDicts; [
|
||||
en-us-large
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
users.users = {
|
||||
artemis.extraGroups = [ "docker" "lxd" ];
|
||||
root = {
|
||||
lxd = {
|
||||
subUidRanges = [{ startUid = 16777216; count = 16777216; } { startUid = config.users.users.artemis.uid; count = 1; }];
|
||||
subGidRanges = [{ startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; }];
|
||||
subGidRanges = [{ startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; } { startGid = config.users.groups.artemis.gid; count = 1; }];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue