about summary refs log tree commit diff
path: root/modules/user/aszlig/profiles/managed.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-09-14 18:48:40 +0200
committeraszlig <aszlig@nix.build>2023-09-14 18:57:51 +0200
commit75ea723caea05056810dad9160bc93e571c77985 (patch)
tree9f5fdcab445670c644947da5377ec9f01f601baa /modules/user/aszlig/profiles/managed.nix
parentafb1c4264fef9362b124979ac3690b0b03eb3901 (diff)
machines: Remove tyree and brawndo
The former no longer exists and the latter has a new hardware and it's
self-managed by the owner now (which is always the best IMHO).

With both machines gone, we no longer need the "managed" profile and the
BFQ module that was used for the old hardware of Brawndo was no longer
used anywhere else. Same with the T100HA module, since Tyree was an ASUS
T100HA and apart from the module being probably very much outdated we
don't have another such hardware in Vuizvui.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig/profiles/managed.nix')
-rw-r--r--modules/user/aszlig/profiles/managed.nix110
1 files changed, 0 insertions, 110 deletions
diff --git a/modules/user/aszlig/profiles/managed.nix b/modules/user/aszlig/profiles/managed.nix
deleted file mode 100644
index dbabcec8..00000000
--- a/modules/user/aszlig/profiles/managed.nix
+++ /dev/null
@@ -1,110 +0,0 @@
-{ pkgs, unfreePkgs, unfreeAndNonDistributablePkgs, config, lib, ... }:
-
-let
-  inherit (lib) mkIf mkEnableOption mkOption;
-  cfg = config.vuizvui.user.aszlig.profiles.managed;
-  inherit (cfg) mainUser;
-
-in {
-  options.vuizvui.user.aszlig.profiles.managed = {
-    enable = mkEnableOption "common profile for aszlig's managed machines";
-
-    mainUser = mkOption {
-      example = "foobar";
-      description = ''
-        Main user account of the managed system.
-      '';
-    };
-  };
-
-  config = mkIf cfg.enable {
-    vuizvui.system.kernel.bfq.enable = true;
-
-    boot.tmp.cleanOnBoot = true;
-    boot.loader.systemd-boot.enable = true;
-    boot.loader.efi.canTouchEfiVariables = true;
-
-    environment.systemPackages = [
-      pkgs.file
-      pkgs.gajim
-      pkgs.gimp
-      pkgs.git
-      pkgs.htop
-      pkgs.inkscape
-      (unfreeAndNonDistributablePkgs.plasma5Packages.ark.override {
-        unfreeEnableUnrar = true;
-        inherit (unfreePkgs) unrar;
-      })
-      pkgs.plasma5Packages.gwenview
-      pkgs.plasma5Packages.kaddressbook
-      pkgs.plasma5Packages.kate
-      pkgs.plasma5Packages.kdepim-addons
-      pkgs.plasma5Packages.kleopatra
-      pkgs.plasma5Packages.kmail
-      pkgs.plasma5Packages.kontact
-      pkgs.plasma5Packages.korganizer
-      pkgs.plasma5Packages.okular
-      pkgs.libreoffice
-      pkgs.mpv
-      pkgs.skanlite
-      pkgs.thunderbird
-      pkgs.vuizvui.aszlig.vim
-      pkgs.wine
-      pkgs.youtube-dl
-      unfreeAndNonDistributablePkgs.skypeforlinux
-    ];
-
-    console.useXkbConfig = true;
-
-    # Printing for the most common printers among the managed machines.
-    services.printing.enable = true;
-    services.printing.drivers = [
-      pkgs.gutenprint
-      unfreeAndNonDistributablePkgs.hplipWithPlugin
-    ];
-
-    # For MTP and other stuff.
-    services.gvfs.enable = true;
-
-    # Plasma desktop with German keyboard layout.
-    services.xserver.enable = true;
-    services.xserver.layout = "de";
-    services.xserver.xkbOptions = lib.mkOverride 900 "eurosign:e";
-    services.xserver.displayManager.sddm.enable = true;
-    services.xserver.displayManager.defaultSession = "plasma";
-    services.xserver.desktopManager.plasma5.enable = true;
-
-    # And also most common scanners are also HP ones.
-    hardware.sane.enable = true;
-    hardware.sane.extraBackends = [
-      unfreeAndNonDistributablePkgs.hplipWithPlugin
-    ];
-
-    hardware.opengl.driSupport32Bit = true;
-    hardware.pulseaudio.enable = true;
-    hardware.pulseaudio.package = pkgs.pulseaudioFull;
-    sound.enable = true;
-
-    networking.firewall.enable = false;
-    networking.networkmanager.enable = true;
-
-    nix.readOnlyStore = true;
-    nix.settings.sandbox = true;
-    nix.settings.auto-optimise-store = true;
-
-    nixpkgs.config.pulseaudio = true;
-
-    programs.bash.enableCompletion = true;
-
-    time.timeZone = "Europe/Berlin";
-
-    users.users.${mainUser} = {
-      isNormalUser = true;
-      uid = 1000;
-      extraGroups = [ "networkmanager" "scanner" "video" "wheel" ];
-    };
-
-    vuizvui.enableGlobalNixpkgsConfig = true;
-    vuizvui.system.kernel.zswap.enable = true;
-  };
-}