about summary refs log tree commit diff
path: root/modules/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 13:47:59 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 13:47:59 -0800
commit8ed3dfc9ebc52a50c3e6d4623204847822944422 (patch)
tree5ecaf4eb3719f6d60e471775cd6de5da7cb78b46 /modules/desktop
parentconfigs: move personal configuration with user (diff)
downloadworld-8ed3dfc9ebc52a50c3e6d4623204847822944422.tar.gz
move configurations and modules around
Sorry, this is a mess, hopefully the last one.
Diffstat (limited to 'modules/desktop')
-rw-r--r--modules/desktop/default.nix8
-rw-r--r--modules/desktop/fonts.nix18
-rw-r--r--modules/desktop/sound.nix20
-rw-r--r--modules/desktop/xserver.nix34
4 files changed, 0 insertions, 80 deletions
diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix
deleted file mode 100644
index f150066..0000000
--- a/modules/desktop/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{lib, config, pkgs, ...}:
-{
-  imports = [
-    ./fonts.nix
-    ./sound.nix
-    ./xserver.nix
-  ];
-}
diff --git a/modules/desktop/fonts.nix b/modules/desktop/fonts.nix
deleted file mode 100644
index a840582..0000000
--- a/modules/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/modules/desktop/sound.nix b/modules/desktop/sound.nix
deleted file mode 100644
index 95c7c75..0000000
--- a/modules/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/modules/desktop/xserver.nix b/modules/desktop/xserver.nix
deleted file mode 100644
index 1b96d03..0000000
--- a/modules/desktop/xserver.nix
+++ /dev/null
@@ -1,34 +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;
-    };
-  };
-
-  programs.gnupg.agent = {
-    enable = true;
-    enableSSHSupport = true;
-  };
-
-  environment.sessionVariables.TERMINAL = [ "alacritty" ];
-  environment.sessionVariables.TERM = [ "xterm-256color" ];
-
-  services.gnome.gnome-keyring.enable = true;
-  services.gvfs.enable = true;
-}