about summary refs log tree commit diff
path: root/modules/nixos/profiles/headful.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
commite6ed60548397627bf10f561f9438201dbba0a36e (patch)
treef9a84c5957d2cc4fcd148065ee9365a0c851ae1c /modules/nixos/profiles/headful.nix
parent2024-04-18 (diff)
2024-04-21
Diffstat (limited to 'modules/nixos/profiles/headful.nix')
-rw-r--r--modules/nixos/profiles/headful.nix91
1 files changed, 0 insertions, 91 deletions
diff --git a/modules/nixos/profiles/headful.nix b/modules/nixos/profiles/headful.nix
deleted file mode 100644
index 8206aa8..0000000
--- a/modules/nixos/profiles/headful.nix
+++ /dev/null
@@ -1,91 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib;
-let
-  cfg = config.nixfiles.modules.profiles.headful;
-in
-{
-  config = mkIf cfg.enable {
-    nixfiles.modules = {
-      chromium.enable = true;
-      firefox.enable = true;
-      sound.enable = true;
-      thunderbird.enable = true;
-
-      nullmailer.enable = true;
-
-      dwm.enable = mkDefault false;
-      kde.enable = mkDefault true;
-      xmonad.enable = mkDefault false;
-
-      wayland.enable = mkDefault true;
-      x11.enable = mkDefault true;
-    };
-
-    hm = {
-      home.packages = with pkgs; [
-        calibre
-        element-desktop
-        imv
-        libreoffice-fresh
-        mumble
-        telegram-desktop
-        tor-browser-bundle-bin
-      ];
-
-      programs.bash.shellAliases.open = "xdg-open";
-    };
-
-    boot = {
-      kernelPackages = mkDefault pkgs.linuxPackages_latest;
-
-      kernelParams = [
-        # https://wiki.archlinux.org/title/improving_performance#Watchdogs
-        "nowatchdog"
-        "kernel.nmi_watchdog=0"
-        # A security risk I'm willing to take for a reason[1].
-        #
-        # [1]: https://www.phoronix.com/scan.php?page=article&item=spectre-meltdown-2&num=11
-        "mitigations=off"
-      ];
-
-      loader = {
-        efi.canTouchEfiVariables = true;
-
-        systemd-boot = {
-          enable = true;
-          configurationLimit = 10;
-        };
-      };
-    };
-
-    hardware.opengl = {
-      enable = true;
-      driSupport = true;
-    };
-
-    programs = {
-      dconf.enable = true;
-      iftop.enable = true;
-      mtr.enable = true;
-    };
-
-    services = {
-      upower.enable = true;
-      psd.enable = true;
-    };
-
-    environment.systemPackages = with pkgs; [ lm_sensors ];
-
-    my.extraGroups = [
-      "audio"
-      "input"
-      "render"
-      "video"
-    ];
-  };
-}

Consider giving Nix/NixOS a try! <3