summaryrefslogtreecommitdiff
path: root/modules/common/profiles/headless.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/common/profiles/headless.nix
parent9ac64328603d44bd272175942d3ea3eaadcabd04 (diff)
2024-04-21
Diffstat (limited to 'modules/common/profiles/headless.nix')
-rw-r--r--modules/common/profiles/headless.nix25
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/common/profiles/headless.nix b/modules/common/profiles/headless.nix
deleted file mode 100644
index 1f8096c..0000000
--- a/modules/common/profiles/headless.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- config,
- lib,
- pkgs,
- this,
- ...
-}:
-with lib;
-let
- cfg = config.nixfiles.modules.profiles.headless;
-in
-{
- options.nixfiles.modules.profiles.headless.enable = mkEnableOption "headless profile" // {
- default = this.isHeadless;
- };
-
- config = mkIf cfg.enable {
- hm.home.file = {
- ".hushlogin".text = "";
- ".bash_history".source = config.hm.lib.file.mkOutOfStoreSymlink "/dev/null";
- };
-
- environment.systemPackages = with pkgs; [ alacritty.terminfo ];
- };
-}