forked from colonelpanic/dotfiles
[NixOS] Move xmonad config into its own module
This commit is contained in:
parent
a427ca2dca
commit
891f8de735
@ -4,12 +4,6 @@
|
||||
./fonts.nix
|
||||
inputs.home-manager.nixosModule
|
||||
];
|
||||
nixpkgs.overlays = with inputs; [
|
||||
xmonad.overlay
|
||||
xmonad-contrib.overlay
|
||||
notifications-tray-icon.overlay
|
||||
(import ../dotfiles/config/xmonad/overlay.nix)
|
||||
] ++ taffybar.overlays;
|
||||
|
||||
services.autorandr.enable = true;
|
||||
|
||||
@ -20,17 +14,6 @@
|
||||
desktopManager = {
|
||||
plasma5.enable = true;
|
||||
};
|
||||
windowManager = {
|
||||
session = [
|
||||
{
|
||||
name = "xmonad";
|
||||
start = ''
|
||||
/usr/bin/env imalison-xmonad &
|
||||
waitPID=$!
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
displayManager = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
@ -64,14 +47,6 @@
|
||||
xorg.xwininfo
|
||||
xsettingsd
|
||||
|
||||
# Haskell Desktop
|
||||
haskellPackages.xmonad
|
||||
haskellPackages.imalison-xmonad
|
||||
haskellPackages.notifications-tray-icon
|
||||
haskellPackages.gtk-sni-tray
|
||||
haskellPackages.status-notifier-item
|
||||
haskellPackages.dbus-hslogger
|
||||
|
||||
# Desktop
|
||||
alacritty
|
||||
betterlockscreen
|
||||
|
@ -5,6 +5,7 @@
|
||||
./arm-incompatible.nix
|
||||
./games.nix
|
||||
./desktop.nix
|
||||
./xmonad.nix
|
||||
./code.nix
|
||||
./extra.nix
|
||||
./internet-computer.nix
|
||||
|
@ -2,6 +2,9 @@
|
||||
imports = [
|
||||
../internet-computer.nix
|
||||
../raspberry-pi.nix
|
||||
../desktop.nix
|
||||
../xmonad.nix
|
||||
../code.nix
|
||||
];
|
||||
|
||||
services.xrdp.enable = true;
|
||||
@ -23,7 +26,6 @@
|
||||
};
|
||||
|
||||
networking.hostName = "biskcomp";
|
||||
# hardware.video.hidpi.enable = true;
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
37
nixos/xmonad.nix
Normal file
37
nixos/xmonad.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ config, pkgs, options, inputs, ... }:
|
||||
{
|
||||
nixpkgs.overlays = with inputs; [
|
||||
xmonad.overlay
|
||||
xmonad-contrib.overlay
|
||||
notifications-tray-icon.overlay
|
||||
(import ../dotfiles/config/xmonad/overlay.nix)
|
||||
] ++ taffybar.overlays;
|
||||
|
||||
services.xserver = {
|
||||
windowManager = {
|
||||
session = [
|
||||
{
|
||||
name = "xmonad";
|
||||
start = ''
|
||||
/usr/bin/env imalison-xmonad &
|
||||
waitPID=$!
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Haskell Desktop
|
||||
haskellPackages.xmonad
|
||||
haskellPackages.imalison-xmonad
|
||||
haskellPackages.notifications-tray-icon
|
||||
haskellPackages.gtk-sni-tray
|
||||
haskellPackages.status-notifier-item
|
||||
haskellPackages.dbus-hslogger
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.imalison = (import ./home-manager.nix) inputs;
|
||||
}
|
Loading…
Reference in New Issue
Block a user