Add extra settings for edu machines
This commit is contained in:
parent
9df79d8fc4
commit
b94fe6d3dc
2 changed files with 17 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
config = { pkgs, ... }: {
|
config = { pkgs, ... }: {
|
||||||
dualBoot = false;
|
dualBoot = false;
|
||||||
|
school = false;
|
||||||
timeZone = "Europe/Zurich";
|
timeZone = "Europe/Zurich";
|
||||||
keyMap = "de_CH-latin1";
|
keyMap = "de_CH-latin1";
|
||||||
keyboardLayout = "ch";
|
keyboardLayout = "ch";
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
nixos.config = { ... }: {
|
nixos.config = { ... }: {
|
||||||
};
|
};
|
||||||
manu-surface.config = { ... }: {
|
manu-surface.config = { ... }: {
|
||||||
|
school = true;
|
||||||
modules = [
|
modules = [
|
||||||
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
nixos-hardware.nixosModules.microsoft-surface-pro-intel
|
||||||
];
|
];
|
||||||
|
|
|
@ -195,9 +195,23 @@
|
||||||
networkmanager-openvpn
|
networkmanager-openvpn
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
librewolf
|
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;
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
|
|
Loading…
Reference in a new issue