Swap to AwesomeWM
This commit is contained in:
parent
bf1af1f68a
commit
0154d65456
@ -68,19 +68,13 @@
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
# Enable Hyprland
|
||||
nix.settings = {
|
||||
substituters = ["https://hyprland.cachix.org"];
|
||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
||||
};
|
||||
|
||||
programs.hyprland = {
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
package = pkgs.kdePackages.sddm;
|
||||
wayland.enable = true;
|
||||
};
|
||||
|
||||
# Enable the GNOME Desktop Environment.
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
|
||||
# Configure keymap in X11
|
||||
@ -161,6 +155,23 @@
|
||||
flavor = "mocha";
|
||||
};
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
nerdfonts
|
||||
font-awesome
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "Hack Nerd Font" ];
|
||||
sansSerif = [ "DejaVuSansM Nerd Font" ];
|
||||
monospace = [ "JetBrainsMono Nerd Font" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
||||
@ -7,8 +7,7 @@
|
||||
../../modules/home-manager/shell/zsh.nix
|
||||
../../modules/home-manager/vscode.nix
|
||||
#../../modules/home-manager/themes/basic-gtk.nix
|
||||
../../modules/home-manager/hyprland.nix
|
||||
../../modules/home-manager/catppuccin.nix
|
||||
../../modules/home-manager/catppuccin-mocha.nix
|
||||
];
|
||||
|
||||
# Allow Unfree
|
||||
@ -36,7 +35,6 @@
|
||||
ferdium
|
||||
git
|
||||
gh
|
||||
kitty
|
||||
|
||||
# School
|
||||
libreoffice-fresh
|
||||
@ -56,11 +54,14 @@
|
||||
corefonts
|
||||
noto-fonts
|
||||
mullvad-vpn
|
||||
easyeffects
|
||||
transmission_4-gtk
|
||||
imagemagick
|
||||
];
|
||||
|
||||
programs.kitty.enable = true;
|
||||
|
||||
services.easyeffects.enable = true;
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
|
||||
@ -48,10 +48,4 @@
|
||||
qt.style.catppuccin.enable = true;
|
||||
qt.style.catppuccin.accent = "mocha";
|
||||
qt.style.catppuccin.apply = true;
|
||||
|
||||
services.mako.catppuccin.enable = true;
|
||||
services.mako.catppuccin.flavor = "mocha";
|
||||
|
||||
wayland.windowManager.hyprland.catppuccin.enable = true;
|
||||
wayland.windowManager.hyprland.catppuccin.flavor = "mocha";
|
||||
}
|
||||
@ -1,9 +0,0 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
};
|
||||
}
|
||||
@ -7,6 +7,7 @@
|
||||
./hardware/ssd/ssd.nix
|
||||
./gaming.nix
|
||||
./nh.nix
|
||||
./awesomewm
|
||||
];
|
||||
|
||||
swapDevices = [{
|
||||
|
||||
11
modules/nixos/alienware/awesomewm/default.nix
Normal file
11
modules/nixos/alienware/awesomewm/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver.windowManager.awesome = {
|
||||
enable = true;
|
||||
luaModules = with pkgs.luaPackages; [
|
||||
luarocks
|
||||
luadbi-mysql
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user