2023-10-30 16:15:31 -05:00
|
|
|
{ lib, config, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2023-11-15 21:04:50 -06:00
|
|
|
../common/steam.nix
|
2023-10-30 16:15:31 -05:00
|
|
|
../common/desktop.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
|
|
|
networking.hostName = "mainsail";
|
|
|
|
|
|
|
|
services.paperless = {
|
|
|
|
enable = true;
|
|
|
|
passwordFile = "/etc/paperless-password";
|
|
|
|
port = 3004;
|
|
|
|
address = "localhost";
|
|
|
|
extraConfig = {
|
|
|
|
PAPERLESS_URL = "https://paperless.beepboop.systems";
|
|
|
|
};
|
|
|
|
};
|
2023-11-15 21:04:50 -06:00
|
|
|
programs.adb.enable = true;
|
|
|
|
users.users.usr.extraGroups = ["adbusers"];
|
|
|
|
|
|
|
|
environment.etc."nextcloud-admin-pass".text = "aslkfjaslkdfjsalkdfjlKJFLKJDLFKJLSKDJFLSKDJFLSKDJFLSKDFJ";
|
|
|
|
services.nextcloud = {
|
|
|
|
enable = true;
|
|
|
|
hostName = "beepboop.systems";
|
|
|
|
config.adminpassFile = "/etc/nextcloud-admin-pass";
|
|
|
|
package = pkgs.nextcloud27;
|
|
|
|
# Instead of using pkgs.nextcloud27Packages.apps,
|
|
|
|
# we'll reference the package version specified above
|
|
|
|
extraApps = with config.services.nextcloud.package.packages.apps; {
|
|
|
|
inherit news contacts calendar tasks;
|
|
|
|
};
|
|
|
|
extraAppsEnable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.targets.sleep.enable = false;
|
|
|
|
systemd.targets.suspend.enable = false;
|
|
|
|
systemd.targets.hibernate.enable = false;
|
|
|
|
systemd.targets.hybrid-sleep.enable = false;
|
2023-10-30 16:15:31 -05:00
|
|
|
|
|
|
|
services.getty.greetingLine = "
|
|
|
|
welcome to mainsail |`-:_
|
|
|
|
,----....____ | `+.
|
|
|
|
( ````----....|___ |
|
|
|
|
\\ _ ````----....____
|
|
|
|
\\ _) ```---.._
|
|
|
|
\\ \\
|
|
|
|
)`.\\ )`. )`. )`. )`. )`. )`. )`. )`. )`. )`.
|
|
|
|
-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' `
|
|
|
|
";
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2023-11-15 21:04:50 -06:00
|
|
|
vscodium-fhs
|
|
|
|
libreoffice
|
|
|
|
|
|
|
|
anki
|
2023-11-21 11:09:16 -06:00
|
|
|
ytfzf
|
2023-11-15 21:04:50 -06:00
|
|
|
kdenlive
|
|
|
|
libreoffice
|
|
|
|
i3
|
|
|
|
gcc
|
|
|
|
gnumake
|
2023-10-30 16:15:31 -05:00
|
|
|
];
|
|
|
|
}
|