Flake: remove school role

This commit is contained in:
Toast 2025-04-15 17:26:54 +02:00
parent 28c64bd454
commit 6292a84a01
9 changed files with 0 additions and 121 deletions

View file

@ -1,12 +0,0 @@
{pkgs, ...}: {
imports = [
./programs
./services
];
home-manager.users.toast.home.packages = with pkgs; [
jetbrains.idea-ultimate
jetbrains.webstorm
nodejs
insomnia
];
}

View file

@ -1,7 +0,0 @@
{pkgs, ...}: {
programs.adb.enable = true;
users.users.toast.extraGroups = ["adbusers"];
home-manager.users.toast.home.packages = with pkgs; [
android-studio
];
}

View file

@ -1,7 +0,0 @@
{pkgs, ...}: {
imports = [
./android-studio.nix
./helix.nix
];
home-manager.users.toast.home.packages = [pkgs.mongodb-compass];
}

View file

@ -1,25 +0,0 @@
{pkgs, ...}: {
home-manager.users.toast = {
programs.helix = {
extraPackages = with pkgs; [
typescript-language-server
prettierd
];
languages.language = let
mkPrettierdConfig = (
langName: fileExt: {
name = langName;
formatter = {
command = "prettierd";
args = [".${fileExt}"];
};
}
);
in [
(mkPrettierdConfig "javascript" "js")
(mkPrettierdConfig "typescript" "ts")
(mkPrettierdConfig "tsx" "tsx")
];
};
};
}

View file

@ -1,7 +0,0 @@
{...}: {
imports = [
./networkmanager.nix
./syncthing.nix
./mysql.nix
];
}

View file

@ -1,33 +0,0 @@
{
config,
pkgs,
lib,
...
}: {
services.mysql = {
enable = true;
package = pkgs.mysql84;
user = "toast";
group = "users";
};
# Don't autostart MySQL
systemd.services.mysql.wantedBy = lib.mkForce [];
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if (
action.id == "org.freedesktop.systemd1.manage-units" &&
action.lookup("unit") == "mysql.service" &&
subject.user == "${config.services.mysql.user}"
)
{
return polkit.Result.YES;
}
})
'';
environment.systemPackages = with pkgs; [
# mycli
];
}

View file

@ -1,19 +0,0 @@
{...}: {
networking.networkmanager.ensureProfiles = {
profiles."school-wifi" = {
connection = {
id = "Progresa";
type = "wifi";
};
wifi = {
mode = "infrastructure";
ssid = ".Progresa Invitados";
};
wifi-security = {
auth-alg = "open";
key-mgmt = "wpa-psk";
psk = "$SCHOOL";
};
};
};
}

View file

@ -1,8 +0,0 @@
{...}: {
services.syncthing.settings.folders. "school-things" = {
label = "School things";
id = "btsth-vdu9c";
devices = ["server" "pc" "winmax2" "imac"];
path = "~/Documents/School things";
};
}