2023-09-12 08:44:05 -06:00
|
|
|
{ inputs
|
|
|
|
, config
|
|
|
|
, pkgs
|
|
|
|
, lib
|
|
|
|
, xinlib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
let
|
2023-12-18 08:19:54 -07:00
|
|
|
inherit (inputs.stable.legacyPackages.${pkgs.system}) chirp beets;
|
2023-11-22 09:31:57 -07:00
|
|
|
inherit (builtins) readFile;
|
2023-12-30 08:31:59 -07:00
|
|
|
inherit (xinlib) jobToUserService todo;
|
2023-09-15 05:57:13 -06:00
|
|
|
#doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override {
|
|
|
|
# doomPrivateDir = ../../configs/doom.d;
|
|
|
|
#};
|
2023-07-11 09:12:50 -06:00
|
|
|
peerixUser =
|
|
|
|
if builtins.hasAttr "peerix" config.users.users
|
|
|
|
then config.users.users.peerix.name
|
|
|
|
else "root";
|
2023-01-12 08:08:56 -07:00
|
|
|
jobs = [
|
|
|
|
{
|
|
|
|
name = "brain";
|
2023-01-13 07:05:08 -07:00
|
|
|
script = "cd ~/Brain && git sync";
|
2023-01-12 08:08:56 -07:00
|
|
|
startAt = "*:0/2";
|
2023-09-12 08:44:05 -06:00
|
|
|
path = [ pkgs.git pkgs.git-sync ];
|
2023-01-12 08:08:56 -07:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "org";
|
2023-01-13 07:05:08 -07:00
|
|
|
script = "(cd ~/org && git sync)";
|
2023-01-12 08:08:56 -07:00
|
|
|
startAt = "*:0/5";
|
2023-09-12 08:44:05 -06:00
|
|
|
path = [ pkgs.git pkgs.git-sync ];
|
2023-01-12 08:08:56 -07:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "taskobs";
|
2023-01-13 07:05:08 -07:00
|
|
|
script = "taskobs";
|
2023-01-12 08:08:56 -07:00
|
|
|
startAt = "*:0/30";
|
2023-09-12 08:44:05 -06:00
|
|
|
path = [ pkgs.taskobs ] ++ pkgs.taskobs.buildInputs;
|
2023-01-12 08:08:56 -07:00
|
|
|
}
|
|
|
|
];
|
2023-09-12 08:44:05 -06:00
|
|
|
in
|
|
|
|
{
|
2022-08-25 12:21:35 -06:00
|
|
|
_module.args.isUnstable = true;
|
|
|
|
|
2023-12-19 11:46:02 -07:00
|
|
|
imports = [ ./hardware-configuration.nix ../../pkgs ];
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
sops.secrets = {
|
|
|
|
fastmail = {
|
|
|
|
sopsFile = config.xin-secrets.europa.qbit;
|
|
|
|
owner = "qbit";
|
|
|
|
group = "wheel";
|
|
|
|
mode = "400";
|
|
|
|
};
|
|
|
|
fastmail_user = {
|
|
|
|
sopsFile = config.xin-secrets.europa.qbit;
|
|
|
|
owner = "qbit";
|
|
|
|
group = "wheel";
|
|
|
|
mode = "400";
|
|
|
|
};
|
|
|
|
nix_review = {
|
|
|
|
sopsFile = config.xin-secrets.europa.qbit;
|
|
|
|
owner = "qbit";
|
|
|
|
group = "wheel";
|
|
|
|
mode = "400";
|
|
|
|
};
|
2022-10-16 08:19:31 -06:00
|
|
|
netrc = {
|
|
|
|
sopsFile = config.xin-secrets.europa.qbit;
|
|
|
|
owner = "qbit";
|
|
|
|
group = "wheel";
|
|
|
|
mode = "400";
|
|
|
|
};
|
2022-08-30 15:56:37 -06:00
|
|
|
peerix_private_key = {
|
|
|
|
sopsFile = config.xin-secrets.europa.peerix;
|
2022-09-01 12:42:47 -06:00
|
|
|
owner = "${peerixUser}";
|
2022-08-30 15:56:37 -06:00
|
|
|
group = "wheel";
|
|
|
|
mode = "400";
|
|
|
|
};
|
2023-01-04 18:42:14 -07:00
|
|
|
restic_password_file = {
|
|
|
|
sopsFile = config.xin-secrets.europa.services;
|
|
|
|
owner = "root";
|
|
|
|
mode = "400";
|
|
|
|
};
|
|
|
|
restic_env_file = {
|
|
|
|
sopsFile = config.xin-secrets.europa.services;
|
|
|
|
owner = "root";
|
|
|
|
mode = "400";
|
|
|
|
};
|
2023-09-27 20:06:24 -06:00
|
|
|
restic_remote_password_file = {
|
|
|
|
sopsFile = config.xin-secrets.europa.services;
|
|
|
|
owner = "root";
|
|
|
|
mode = "400";
|
|
|
|
};
|
|
|
|
restic_remote_env_file = {
|
|
|
|
sopsFile = config.xin-secrets.europa.services;
|
|
|
|
owner = "root";
|
|
|
|
mode = "400";
|
|
|
|
};
|
|
|
|
restic_remote_repo_file = {
|
|
|
|
sopsFile = config.xin-secrets.europa.services;
|
|
|
|
owner = "root";
|
|
|
|
mode = "400";
|
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
};
|
|
|
|
|
2023-07-16 15:17:03 -06:00
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowUnsupportedSystem = true;
|
2023-12-30 08:31:59 -07:00
|
|
|
permittedInsecurePackages = todo "Obsidian is using insecure electron!" [ "electron-25.9.0" ];
|
2023-07-16 15:17:03 -06:00
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
boot = {
|
2023-09-12 08:44:05 -06:00
|
|
|
binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" ];
|
2022-11-16 20:25:14 -07:00
|
|
|
initrd.systemd.enable = true;
|
2022-08-25 12:21:35 -06:00
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
2022-09-07 10:02:56 -06:00
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
efiSysMountPoint = "/boot/efi";
|
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
};
|
2023-12-14 05:17:07 -07:00
|
|
|
kernelParams = [
|
|
|
|
"boot.shell_on_fail"
|
|
|
|
];
|
2023-02-01 11:58:56 -07:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2022-08-25 12:21:35 -06:00
|
|
|
};
|
|
|
|
|
2023-07-05 05:53:26 -06:00
|
|
|
sshFidoAgent.enable = lib.mkDefault true;
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
nixManager = {
|
2023-07-05 05:53:26 -06:00
|
|
|
enable = lib.mkDefault true;
|
2022-08-25 12:21:35 -06:00
|
|
|
user = "qbit";
|
|
|
|
};
|
|
|
|
|
2023-07-05 05:53:26 -06:00
|
|
|
kde.enable = lib.mkDefault true;
|
2022-08-25 12:21:35 -06:00
|
|
|
|
2023-07-05 05:53:26 -06:00
|
|
|
virtualisation.libvirtd.enable = lib.mkDefault true;
|
2022-08-25 12:21:35 -06:00
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "europa";
|
|
|
|
hostId = "87703c3e";
|
2023-07-09 07:13:33 -06:00
|
|
|
hosts = {
|
2023-09-12 08:44:05 -06:00
|
|
|
"192.168.122.6" = [ "chubs" ];
|
2023-07-09 07:13:33 -06:00
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
wireless.userControlled.enable = true;
|
|
|
|
networkmanager.enable = true;
|
|
|
|
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
2023-09-12 08:44:05 -06:00
|
|
|
allowedTCPPorts = [ 22 ];
|
2024-01-10 09:55:55 -07:00
|
|
|
interfaces = { "tailscale0" = { allowedTCPPorts = [ 8384 ]; }; };
|
2022-08-25 12:21:35 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-08-30 15:56:37 -06:00
|
|
|
tsPeerix = {
|
2022-09-01 12:14:46 -06:00
|
|
|
enable = false;
|
2022-08-30 15:56:37 -06:00
|
|
|
privateKeyFile = "${config.sops.secrets.peerix_private_key.path}";
|
2023-09-12 08:44:05 -06:00
|
|
|
interfaces = [ "wlp170s0" "ztksevmpn3" ];
|
2022-08-30 15:56:37 -06:00
|
|
|
};
|
|
|
|
|
2022-12-18 06:15:19 -07:00
|
|
|
programs = {
|
|
|
|
steam.enable = true;
|
|
|
|
_1password.enable = true;
|
|
|
|
_1password-gui = {
|
|
|
|
enable = true;
|
2023-09-12 08:44:05 -06:00
|
|
|
polkitPolicyOwners = [ "qbit" ];
|
2022-12-18 06:15:19 -07:00
|
|
|
};
|
|
|
|
dconf.enable = true;
|
2022-12-22 10:09:24 -07:00
|
|
|
zsh = {
|
|
|
|
shellInit = ''
|
|
|
|
export OP_PLUGIN_ALIASES_SOURCED=1
|
|
|
|
'';
|
|
|
|
shellAliases = {
|
|
|
|
"gh" = "op plugin run -- gh";
|
2023-07-11 09:12:50 -06:00
|
|
|
"nixpkgs-review" = "env GITHUB_TOKEN=$(op item get nixpkgs-review --field token) nixpkgs-review";
|
|
|
|
"clilol" = "env CLILOL_APIKEY=$(op item get omglol-cli --field credential) clilol";
|
|
|
|
"godeps" = "go list -m -f '{{if not (or .Indirect .Main)}}{{.Path}}{{end}}' all";
|
2022-12-22 10:09:24 -07:00
|
|
|
};
|
2022-12-18 06:15:19 -07:00
|
|
|
};
|
|
|
|
};
|
2022-09-08 06:31:34 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
services.xinCA = { enable = false; };
|
2023-02-10 12:43:59 -07:00
|
|
|
|
2022-08-25 12:21:35 -06:00
|
|
|
services = {
|
2023-12-19 05:49:15 -07:00
|
|
|
power-profiles-daemon.enable = false;
|
|
|
|
tlp = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
CPU_BOOST_ON_BAT = 0;
|
|
|
|
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
|
|
|
|
START_CHARGE_THRESH_BAT0 = 90;
|
|
|
|
STOP_CHARGE_THRESH_BAT0 = 97;
|
|
|
|
RUNTIME_PM_ON_BAT = "auto";
|
|
|
|
};
|
|
|
|
};
|
2023-12-18 08:22:02 -07:00
|
|
|
logind = {
|
|
|
|
lidSwitch = "suspend-then-hibernate";
|
|
|
|
lidSwitchExternalPower = "lock";
|
|
|
|
|
|
|
|
extraConfig = ''
|
|
|
|
HandlePowerKey=suspend-then-hibernate
|
|
|
|
HandlePowerKeyLongPress=poweroff
|
|
|
|
IdleAction=suspend-then-hibernate
|
|
|
|
IdleActionSec=300
|
|
|
|
'';
|
|
|
|
};
|
2023-12-05 09:33:26 -07:00
|
|
|
rimgo = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2024-02-06 06:02:21 -07:00
|
|
|
PORT = 3001;
|
2023-12-05 09:33:26 -07:00
|
|
|
ADDRESS = "127.0.0.1";
|
|
|
|
};
|
|
|
|
};
|
2023-11-15 07:26:57 -07:00
|
|
|
fprintd.enable = true;
|
2023-08-15 21:20:35 -06:00
|
|
|
avahi = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
printing.enable = true;
|
2023-01-04 18:42:14 -07:00
|
|
|
restic = {
|
|
|
|
backups = {
|
2023-09-27 20:06:24 -06:00
|
|
|
remote = {
|
|
|
|
initialize = true;
|
|
|
|
#environmentFile = "${config.sops.secrets.restic_remote_env_file.path}";
|
|
|
|
passwordFile = "${config.sops.secrets.restic_remote_password_file.path}";
|
|
|
|
repositoryFile = "${config.sops.secrets.restic_remote_repo_file.path}";
|
|
|
|
#repository = "https://europa@backup.bold.daemon:8484/";
|
|
|
|
|
|
|
|
paths = [ "/home/qbit" "/var/lib/libvirt" ];
|
|
|
|
|
|
|
|
pruneOpts = [ "--keep-daily 7" "--keep-weekly 5" "--keep-yearly 4" ];
|
|
|
|
};
|
2023-01-04 18:42:14 -07:00
|
|
|
local = {
|
|
|
|
initialize = true;
|
|
|
|
repository = "/run/media/qbit/backup/${config.networking.hostName}";
|
|
|
|
environmentFile = "${config.sops.secrets.restic_env_file.path}";
|
|
|
|
passwordFile = "${config.sops.secrets.restic_password_file.path}";
|
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
paths = [ "/home/qbit" "/var/lib/libvirt" ];
|
2023-01-04 18:42:14 -07:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
pruneOpts = [ "--keep-daily 7" "--keep-weekly 5" "--keep-yearly 5" ];
|
2023-01-04 18:42:14 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-12-27 07:40:02 -07:00
|
|
|
pcscd.enable = true;
|
2022-11-16 21:18:36 -07:00
|
|
|
vnstat.enable = true;
|
2022-09-21 16:35:46 -06:00
|
|
|
clamav.updater.enable = true;
|
2022-08-25 12:21:35 -06:00
|
|
|
tor = {
|
|
|
|
enable = true;
|
|
|
|
client.enable = true;
|
|
|
|
};
|
|
|
|
fwupd = {
|
|
|
|
enable = true;
|
|
|
|
enableTestRemote = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
udev.extraRules = ''
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="5bf0", GROUP="users", TAG+="uaccess"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
security.pki.certificates = [
|
|
|
|
''
|
|
|
|
-----BEGIN CERTIFICATE-----
|
|
|
|
MIIDPTCCAiWgAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDExdPYnNp
|
|
|
|
ZGlhbiBMb2NhbCBSRVNUIEFQSTAeFw0yMzAyMDcwMTQ3NDVaFw0yNDAyMDcwMTQ3
|
|
|
|
NDVaMCIxIDAeBgNVBAMTF09ic2lkaWFuIExvY2FsIFJFU1QgQVBJMIIBIjANBgkq
|
|
|
|
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiRr4708X1QMmQMG3+M7UoefV+9gq+jNR
|
|
|
|
bM5HCOlBuB16LrhRiR/6ROaDnB3OJBP4NToCVY6+tJvWOqJe9FVyzviWzGaFkZGF
|
|
|
|
eBF32QvYLZRbPTIVWADl+KabXm1TXtLos1GpPKnIjU9m+5Jt1ob8i4eTKjjarpSG
|
|
|
|
u4kvKBQiQYxxYXA+miuqxPWD/mkIySvx50EVzrO5X8u/M4MQqPlpMvL6W6AxMXQ+
|
|
|
|
WU5KWUkP3kU/CMB377GjqTfdwRMVqCFhKq0jzFueKrqY0qXnbLoTePFBV2HsPAhv
|
|
|
|
Xup15Yx7G5pLROYkvmxvxzgP6mycB3SOiPDwj9UsFk41+KZV9cm6pQIDAQABo34w
|
|
|
|
fDAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIC9DA7BgNVHSUENDAyBggrBgEFBQcD
|
|
|
|
AQYIKwYBBQUHAwIGCCsGAQUFBwMDBggrBgEFBQcDBAYIKwYBBQUHAwgwEQYJYIZI
|
|
|
|
AYb4QgEBBAQDAgD3MA8GA1UdEQQIMAaHBH8AAAEwDQYJKoZIhvcNAQELBQADggEB
|
|
|
|
AHfjsIJpQlQcSP1Gy0gcrnBt9PhcA5TAqKlafKXVs0z60gVFDd/8d9PU3QxuTa4m
|
|
|
|
uQGLtFiMSudaoZoGhyEZ4kk5upqjfANppJj4R5UgPmfhp24AUvPjf2bVXczdIbvY
|
|
|
|
MNrXMtOq4+zD8QdZ25aPXT17LDIGx3TSM4HQzpu9YQdVt6fGgqPKFo3U9HGsBCja
|
|
|
|
lXsQ+lw4Hfi50HqLFRmLA50AP5m+EGdgIkVktAm7v8x0H8wHjd2Ysy8oRRAYtf2i
|
|
|
|
tynaHjsc6x3jDd5HiGuShRNHV9r3Q+IG1+SikALFk0nhKfB4DpYTz/fSQsw9hEj5
|
|
|
|
5wYD1VN/zBzPsHUUwCujYOs=
|
|
|
|
-----END CERTIFICATE-----
|
|
|
|
''
|
|
|
|
];
|
2023-02-06 19:03:49 -07:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
systemd = {
|
|
|
|
user.services =
|
2023-12-30 08:31:59 -07:00
|
|
|
lib.listToAttrs (builtins.map jobToUserService jobs);
|
2023-12-18 08:22:02 -07:00
|
|
|
services = {
|
|
|
|
"whytailscalewhy" = {
|
|
|
|
description = "Tailscale restart on resume";
|
|
|
|
wantedBy = [ "post-resume.target" ];
|
|
|
|
after = [ "post-resume.target" ];
|
|
|
|
script = ''
|
|
|
|
. /etc/profile;
|
|
|
|
${pkgs.systemd}/bin/systemctl restart tailscaled.service
|
|
|
|
'';
|
|
|
|
serviceConfig.Type = "oneshot";
|
|
|
|
};
|
2023-09-12 08:44:05 -06:00
|
|
|
};
|
2023-05-07 06:19:49 -06:00
|
|
|
};
|
2023-01-12 08:08:56 -07:00
|
|
|
|
2023-03-12 09:19:39 -06:00
|
|
|
virtualisation.docker.enable = false;
|
|
|
|
users.users.qbit.extraGroups = [
|
|
|
|
"dialout"
|
|
|
|
"libvirtd"
|
2023-07-20 13:30:17 -06:00
|
|
|
"plugdev"
|
2023-03-12 09:19:39 -06:00
|
|
|
#"docker"
|
|
|
|
];
|
2022-08-25 12:21:35 -06:00
|
|
|
|
2023-09-14 07:23:58 -06:00
|
|
|
environment = {
|
2023-11-09 19:50:32 -07:00
|
|
|
etc."barrier.conf" = { text = readFile ../../configs/barrier.conf; };
|
2023-09-14 07:23:58 -06:00
|
|
|
sessionVariables = {
|
|
|
|
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
|
|
|
XDG_CACHE_HOME = "\${HOME}/.cache";
|
|
|
|
XDG_CONFIG_HOME = "\${HOME}/.config";
|
|
|
|
XDG_DATA_HOME = "\${HOME}/.local/share";
|
2022-12-04 06:22:35 -07:00
|
|
|
|
2023-09-14 07:23:58 -06:00
|
|
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
|
|
|
|
PATH = [ "\${XDG_BIN_HOME}" ];
|
|
|
|
MUHOME = "\${HOME}/.config/mu";
|
|
|
|
};
|
2022-12-04 06:22:35 -07:00
|
|
|
|
2023-09-14 07:23:58 -06:00
|
|
|
systemPackages = with pkgs; [
|
2023-12-12 05:47:53 -07:00
|
|
|
arduino
|
2023-09-14 07:23:58 -06:00
|
|
|
barrier
|
2023-12-18 08:19:54 -07:00
|
|
|
beets # stable
|
2023-09-14 07:23:58 -06:00
|
|
|
calibre
|
2023-12-18 08:19:54 -07:00
|
|
|
chirp # stable
|
2023-09-14 07:23:58 -06:00
|
|
|
direwolf
|
|
|
|
element-desktop
|
|
|
|
elmPackages.elm
|
|
|
|
elmPackages.elm-format
|
|
|
|
elmPackages.elm-language-server
|
|
|
|
elmPackages.elm-live
|
|
|
|
elmPackages.elm-test
|
|
|
|
entr
|
2023-12-21 08:05:16 -07:00
|
|
|
fossil
|
2023-09-14 07:23:58 -06:00
|
|
|
gh
|
|
|
|
gimp
|
|
|
|
git-credential-1password
|
2024-01-17 08:38:48 -07:00
|
|
|
gqrx
|
2023-09-14 07:23:58 -06:00
|
|
|
hackrf
|
|
|
|
klavaro
|
|
|
|
minicom
|
|
|
|
nheko
|
|
|
|
nix-index
|
2023-11-14 07:08:36 -07:00
|
|
|
nixpkgs-review
|
2023-11-29 08:10:15 -07:00
|
|
|
nix-top
|
2023-09-14 07:23:58 -06:00
|
|
|
nmap
|
2023-12-18 11:32:45 -07:00
|
|
|
obsidian
|
2023-09-14 07:23:58 -06:00
|
|
|
picocom
|
|
|
|
proton-caller
|
|
|
|
protonup-ng
|
|
|
|
prusa-slicer
|
|
|
|
python3Packages.meshtastic
|
2024-01-11 20:05:57 -07:00
|
|
|
python3Packages.nomadnet
|
2024-01-12 17:07:08 -07:00
|
|
|
python3Packages.rns
|
2023-09-14 07:23:58 -06:00
|
|
|
qdmr
|
2023-12-18 10:45:30 -07:00
|
|
|
quodlibet-full
|
2023-09-14 07:23:58 -06:00
|
|
|
rex
|
|
|
|
rofi
|
2023-11-29 08:10:15 -07:00
|
|
|
rsibreak
|
2023-09-14 07:23:58 -06:00
|
|
|
rtl-sdr
|
|
|
|
sdrpp
|
|
|
|
signal-desktop
|
2024-01-12 07:30:57 -07:00
|
|
|
signal-desktop-beta
|
2023-09-14 07:23:58 -06:00
|
|
|
taskobs
|
|
|
|
tcpdump
|
|
|
|
tea
|
|
|
|
thunderbird
|
|
|
|
tigervnc
|
2024-01-30 12:47:55 -07:00
|
|
|
tncattach
|
2023-09-14 07:23:58 -06:00
|
|
|
unzip
|
|
|
|
veilid
|
|
|
|
virt-manager
|
|
|
|
w3m
|
|
|
|
yt-dlp
|
|
|
|
zig
|
2022-09-21 13:07:37 -06:00
|
|
|
|
2024-01-17 08:38:48 -07:00
|
|
|
(callPackage ../../pkgs/ttfs.nix { })
|
2023-09-14 07:23:58 -06:00
|
|
|
(callPackage ../../pkgs/clilol.nix { })
|
|
|
|
(callPackage ../../pkgs/iamb.nix { })
|
|
|
|
(callPackage ../../pkgs/kobuddy.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
inherit
|
|
|
|
(pkgs.python39Packages)
|
|
|
|
buildPythonPackage
|
|
|
|
fetchPypi
|
|
|
|
setuptools-scm
|
|
|
|
pytz
|
|
|
|
banal
|
|
|
|
sqlalchemy
|
|
|
|
alembic
|
|
|
|
;
|
|
|
|
})
|
|
|
|
(callPackage ../../pkgs/gokrazy.nix { })
|
|
|
|
(callPackage ../../pkgs/mvoice.nix { })
|
|
|
|
(callPackage ../../pkgs/zutty.nix { })
|
2023-04-17 10:43:10 -06:00
|
|
|
|
2023-09-14 07:23:58 -06:00
|
|
|
restic
|
|
|
|
];
|
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
|
2022-09-21 08:00:54 -06:00
|
|
|
# for Pharo
|
|
|
|
security.pam.loginLimits = [
|
|
|
|
{
|
|
|
|
domain = "qbit";
|
|
|
|
type = "hard";
|
|
|
|
item = "rtprio";
|
|
|
|
value = "2";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
domain = "qbit";
|
|
|
|
type = "soft";
|
|
|
|
item = "rtprio";
|
|
|
|
value = "2";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
system = {
|
|
|
|
autoUpgrade.allowReboot = false;
|
|
|
|
autoUpgrade.enable = false;
|
|
|
|
stateVersion = "21.11";
|
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
}
|