switch to xmonad

This commit is contained in:
Schrottkatze 2023-04-22 12:52:11 +02:00
parent ab0b9e68a5
commit df402becef
6 changed files with 393 additions and 42 deletions

View file

@ -53,6 +53,7 @@ in with lib; {
#./xkeysnail.nix
./mail.nix
./specific-hardware
./xmonad.nix
]).content;
options.jade.desktop = {
enable = mkEnableOption "Enable the i3 setup";
@ -78,6 +79,7 @@ in with lib; {
virtualisation.libvirtd.enable = true;
environment.systemPackages = with pkgs; [ gnome.gdm ];
services = {
printing.enable = true;
gnome.gnome-keyring.enable = true;
@ -98,30 +100,12 @@ in with lib; {
};
displayManager = {
defaultSession = "none+i3";
#defaultSession = "none+i3";
gdm.enable = true;
};
windowManager.i3 = {
windowManager.xmonad = {
enable = true;
extraPackages = with pkgs; [
gnome.gdm
i3lock-fancy
rofi
rofimoji
feh
xorg.xinput
dunst
arandr
flameshot
tesseract5
imagemagick
xclip
xmacro
libwacom
wacomtablet
xorg.xev
];
};
};
@ -152,7 +136,24 @@ in with lib; {
# - every custom script its own flake n stuff
home-manager.users.jade = { pkgs, ... }: {
programs.rofi.theme = ../../other/rofi-themes/applauncher.rasi;
home.packages = with pkgs; [
i3lock-fancy
rofi
rofimoji
feh
xorg.xinput
dunst
arandr
flameshot
tesseract5
imagemagick
xclip
xmacro
libwacom
wacomtablet
xorg.xev
# categories
# filemanager
xfce.thunar
@ -228,7 +229,7 @@ in with lib; {
xsession = {
enable = true;
windowManager.i3 = {
enable = true;
enable = false;
config = {
bars = [];
workspaceAutoBackAndForth = true;

View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
with lib; {
home-manager.users.jade = { pkgs, ... }: {
xsession.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = ../../haskell/xmonad/xmonad.hs;
};
};
}

View file

@ -23,6 +23,10 @@ in with lib; {
vim-devicons
vim-nix
vim-pug
statix
haskell-tools-nvim
coc-rust-analyzer
coc-git
coc-fzf