switch to xmonad
This commit is contained in:
parent
ab0b9e68a5
commit
df402becef
6 changed files with 393 additions and 42 deletions
|
@ -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;
|
||||
|
|
10
modules/desktop/xmonad.nix
Normal file
10
modules/desktop/xmonad.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -23,6 +23,10 @@ in with lib; {
|
|||
vim-devicons
|
||||
vim-nix
|
||||
vim-pug
|
||||
|
||||
statix
|
||||
haskell-tools-nvim
|
||||
|
||||
coc-rust-analyzer
|
||||
coc-git
|
||||
coc-fzf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue