Add extra settings for edu machines
This commit is contained in:
parent
9df79d8fc4
commit
b94fe6d3dc
|
@ -29,6 +29,7 @@
|
|||
|
||||
config = { pkgs, ... }: {
|
||||
dualBoot = false;
|
||||
school = false;
|
||||
timeZone = "Europe/Zurich";
|
||||
keyMap = "de_CH-latin1";
|
||||
keyboardLayout = "ch";
|
||||
|
@ -56,6 +57,7 @@
|
|||
nixos.config = { ... }: {
|
||||
};
|
||||
manu-surface.config = { ... }: {
|
||||
school = true;
|
||||
modules = [
|
||||
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
||||
];
|
||||
|
|
|
@ -195,9 +195,23 @@
|
|||
networkmanager-openvpn
|
||||
nextcloud-client
|
||||
librewolf
|
||||
];
|
||||
logseq
|
||||
rnote
|
||||
texliveFull
|
||||
xournalpp
|
||||
] ++ (lib.optionals machine.config.school [
|
||||
teams-for-linux
|
||||
temurin-bin-17
|
||||
gradle
|
||||
jetbrains.idea-ultimate
|
||||
]);
|
||||
};
|
||||
|
||||
services.udev.extraRules = lib.strings.concatLines (
|
||||
lib.optional machine.config.school ''
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", MODE="0666"
|
||||
'');
|
||||
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
# Fonts
|
||||
|
|
Loading…
Reference in a new issue