Swap to AwesomeWM

This commit is contained in:
Isshi0417 2024-07-11 11:23:46 +09:00
parent bf1af1f68a
commit 0154d65456
6 changed files with 37 additions and 28 deletions

View File

@ -68,19 +68,13 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
# Enable Hyprland services.displayManager.sddm = {
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
programs.hyprland = {
enable = true; enable = true;
xwayland.enable = true; package = pkgs.kdePackages.sddm;
wayland.enable = true;
}; };
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11 # Configure keymap in X11
@ -161,6 +155,23 @@
flavor = "mocha"; 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 # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;

View File

@ -7,8 +7,7 @@
../../modules/home-manager/shell/zsh.nix ../../modules/home-manager/shell/zsh.nix
../../modules/home-manager/vscode.nix ../../modules/home-manager/vscode.nix
#../../modules/home-manager/themes/basic-gtk.nix #../../modules/home-manager/themes/basic-gtk.nix
../../modules/home-manager/hyprland.nix ../../modules/home-manager/catppuccin-mocha.nix
../../modules/home-manager/catppuccin.nix
]; ];
# Allow Unfree # Allow Unfree
@ -36,7 +35,6 @@
ferdium ferdium
git git
gh gh
kitty
# School # School
libreoffice-fresh libreoffice-fresh
@ -56,11 +54,14 @@
corefonts corefonts
noto-fonts noto-fonts
mullvad-vpn mullvad-vpn
easyeffects
transmission_4-gtk transmission_4-gtk
imagemagick imagemagick
]; ];
programs.kitty.enable = true;
services.easyeffects.enable = true;
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'. # plain files is through 'home.file'.
home.file = { home.file = {

View File

@ -48,10 +48,4 @@
qt.style.catppuccin.enable = true; qt.style.catppuccin.enable = true;
qt.style.catppuccin.accent = "mocha"; qt.style.catppuccin.accent = "mocha";
qt.style.catppuccin.apply = true; 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";
} }

View File

@ -1,9 +0,0 @@
{ config, pkgs, lib, ... }:
{
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd.enable = true;
};
}

View File

@ -7,6 +7,7 @@
./hardware/ssd/ssd.nix ./hardware/ssd/ssd.nix
./gaming.nix ./gaming.nix
./nh.nix ./nh.nix
./awesomewm
]; ];
swapDevices = [{ swapDevices = [{

View File

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
services.xserver.windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
luarocks
luadbi-mysql
];
};
}