Evie Litherland-Smith
0889818512
Move commonModule into system/default.nix Keep most essential parts (user definition, home-manager init) in flake.nix but move rest to system/default.nix Remove some tui expressions from home and add all to home/default.nix, will always want those so always use Disable gamescope session unless gamescope.nix imported Move various home.package definitions to environment.systemPackage in system/ expressions, located based on appropriate use Move wallpapers directory due to restructure, no other changes to it
126 lines
2.7 KiB
Nix
126 lines
2.7 KiB
Nix
{ config, lib, pkgs, catppuccin-base16, ... }:
|
|
|
|
{
|
|
imports = [ ./default.nix ./firefox.nix ];
|
|
environment.systemPackages = with pkgs;
|
|
with libsForQt5.qt5; [
|
|
dex
|
|
mesa
|
|
libnotify
|
|
glib
|
|
gsettings-desktop-schemas
|
|
qtgraphicaleffects
|
|
qtsvg
|
|
qtquickcontrols2
|
|
catppuccin-sddm-corners
|
|
protonvpn-cli
|
|
protonvpn-gui
|
|
qbittorrent
|
|
signal-desktop
|
|
remmina
|
|
libreoffice
|
|
zotero
|
|
minesweep-rs
|
|
nomachine-client
|
|
];
|
|
stylix = {
|
|
autoEnable = false;
|
|
image = ./wallpapers/waves/cat-waves.png;
|
|
base16Scheme = "${catppuccin-base16}/base16/macchiato.yaml";
|
|
fonts = {
|
|
emoji = {
|
|
name = "Noto Color Emoji";
|
|
package = pkgs.noto-fonts-emoji;
|
|
};
|
|
monospace = {
|
|
name = "Fira Mono";
|
|
package = pkgs.fira-mono;
|
|
};
|
|
sansSerif = {
|
|
name = "Fira Sans";
|
|
package = pkgs.fira;
|
|
};
|
|
serif = {
|
|
name = "Fira Sans";
|
|
package = pkgs.fira;
|
|
};
|
|
};
|
|
homeManagerIntegration.followSystem = true;
|
|
targets = {
|
|
chromium.enable = true;
|
|
console.enable = true;
|
|
grub = {
|
|
enable = true;
|
|
useImage = true;
|
|
};
|
|
};
|
|
};
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
fira
|
|
fira-mono
|
|
fira-code
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
dejavu_fonts
|
|
noto-fonts-emoji
|
|
font-awesome
|
|
material-symbols
|
|
emacs-all-the-icons-fonts
|
|
material-design-icons
|
|
weather-icons
|
|
vscode-extensions.file-icons.file-icons
|
|
];
|
|
fontconfig = {
|
|
enable = true;
|
|
defaultFonts = {
|
|
serif = [ "Fira Sans" "DejaVu Sans" ];
|
|
sansSerif = [ "Fira Sans" "DejaVu Sans" ];
|
|
monospace = [ "Fira Mono" "DejaVu Sans Mono" ];
|
|
emoji = [ "Noto Color Emoji" ];
|
|
};
|
|
};
|
|
};
|
|
security = {
|
|
rtkit.enable = true;
|
|
pam.services.gtklock.enableGnomeKeyring = true;
|
|
};
|
|
sound.enable = true;
|
|
hardware = {
|
|
pulseaudio.enable = false;
|
|
bluetooth.enable = true;
|
|
};
|
|
services = {
|
|
gnome.gnome-keyring.enable = true;
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
xserver = {
|
|
enable = true;
|
|
layout = "gb";
|
|
xkbVariant = "";
|
|
displayManager.sddm = {
|
|
enable = true;
|
|
theme = "catppuccin-sddm-corners";
|
|
autoNumlock = true;
|
|
settings = { General = { InputMethod = ""; }; };
|
|
};
|
|
};
|
|
};
|
|
programs = {
|
|
seahorse.enable = true;
|
|
dconf.enable = true;
|
|
light.enable = true;
|
|
noisetorch.enable = true;
|
|
kdeconnect.enable = true;
|
|
};
|
|
gtk.iconCache.enable = true;
|
|
qt = {
|
|
enable = true;
|
|
style = "gtk2";
|
|
platformTheme = "gtk2";
|
|
};
|
|
}
|