rework home.nix
This commit is contained in:
parent
f8a85b19cb
commit
4632614919
|
@ -1,32 +0,0 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./picom.nix
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
xmobar = inputs.xmobar-config.packages.${pkgs.system}.xmobar-config;
|
||||
})
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
dmenu
|
||||
feh
|
||||
unstable.wezterm
|
||||
xmobar
|
||||
];
|
||||
|
||||
xsession.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
config = ./xmonad/src/xmonad.hs;
|
||||
};
|
||||
|
||||
home.file.".xinitrc".source = ./xinitrc;
|
||||
|
||||
xdg.configFile = {
|
||||
wezterm = { source = ./wezterm; recursive = true; };
|
||||
};
|
||||
}
|
|
@ -12,12 +12,14 @@
|
|||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
|
||||
# User services
|
||||
./services/picom
|
||||
|
||||
# User programs
|
||||
./programs/discord
|
||||
./programs/mangohud
|
||||
|
||||
# Common programs
|
||||
../common/desktop
|
||||
../common/programs/git
|
||||
../common/programs/zsh
|
||||
../common/programs/nvim
|
||||
|
@ -63,12 +65,33 @@
|
|||
|
||||
# Install some packages
|
||||
packages = with pkgs; [
|
||||
# Stable user programs
|
||||
bitwarden
|
||||
dmenu
|
||||
feh
|
||||
spotify
|
||||
prismlauncher
|
||||
xmobar
|
||||
# Unstable user programs
|
||||
unstable.wezterm
|
||||
];
|
||||
};
|
||||
|
||||
# Setup our window manager
|
||||
xsession.windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
config = ../../pkgs/xmonad-config/src/xmonad.hs;
|
||||
};
|
||||
|
||||
# Copy some configuration files to $XDG_CONFIG_HOME
|
||||
xdg.configFile = {
|
||||
wezterm = { source = ./programs/wezterm/config; recursive = true; };
|
||||
};
|
||||
|
||||
# Setup our desktop environment
|
||||
home.file.".xinitrc".source = ./xinitrc;
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
|
|
Loading…
Reference in a new issue