about summary refs log tree commit diff
path: root/hosts/commons/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 13:53:12 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 13:54:53 -0800
commit8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c (patch)
tree445cbdba282c01659a1e9a14583a1e7283106315 /hosts/commons/desktop
parenthosts: import common modules (diff)
downloadworld-8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c.tar.gz
hosts: rename commons to common
Diffstat (limited to 'hosts/commons/desktop')
-rw-r--r--hosts/commons/desktop/default.nix8
-rw-r--r--hosts/commons/desktop/fonts.nix18
-rw-r--r--hosts/commons/desktop/sound.nix20
-rw-r--r--hosts/commons/desktop/xserver.nix23
4 files changed, 0 insertions, 69 deletions
diff --git a/hosts/commons/desktop/default.nix b/hosts/commons/desktop/default.nix
deleted file mode 100644
index f150066..0000000
--- a/hosts/commons/desktop/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{lib, config, pkgs, ...}:
-{
-  imports = [
-    ./fonts.nix
-    ./sound.nix
-    ./xserver.nix
-  ];
-}
diff --git a/hosts/commons/desktop/fonts.nix b/hosts/commons/desktop/fonts.nix
deleted file mode 100644
index a840582..0000000
--- a/hosts/commons/desktop/fonts.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ pkgs, config, lib, ... }:
-
-{
-  fonts = {
-    fontconfig.enable = true;
-    fonts = with pkgs; [
-      noto-fonts-emoji
-      dejavu_fonts
-      source-code-pro
-      source-sans-pro
-      source-serif-pro
-    ];
-
-    fontconfig.defaultFonts = {
-      monospace = [ "Source Code Pro" ];
-    };
-  };
-}
diff --git a/hosts/commons/desktop/sound.nix b/hosts/commons/desktop/sound.nix
deleted file mode 100644
index 95c7c75..0000000
--- a/hosts/commons/desktop/sound.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{pkgs, config, lib, ...}:
-
-{
-  sound.enable = true;
-
-  environment.systemPackages = with pkgs; [
-    # We install it to get access to pactl. It isn't enabled or run as a service.
-    pulseaudio
-  ];
-
-  services.pipewire = {
-    enable = true;
-    # Compatibility shims, adjust according to your needs
-    alsa.enable = true;
-    alsa.support32Bit = true;
-    pulse.enable = true;
-    jack.enable = true;
-  };
-  hardware.pulseaudio.enable = false;
-}
diff --git a/hosts/commons/desktop/xserver.nix b/hosts/commons/desktop/xserver.nix
deleted file mode 100644
index 7537863..0000000
--- a/hosts/commons/desktop/xserver.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
-  services.xserver = {
-    enable = true;
-    layout = "us";
-    xkbOptions = "eurosign:e,ctrl:swapcaps";
-    libinput.enable = true;
-
-    desktopManager = {
-      xterm.enable = false;
-    };
-
-    displayManager = {
-      lightdm.enable = true;
-      defaultSession = "none+i3";
-    };
-
-    windowManager = {
-      i3.enable = true;
-    };
-  };
-}