Refactor the whole configuration

Reviewed-on: #1
This commit is contained in:
caem 2025-02-01 14:05:15 +01:00
parent fb5d4d46f8
commit 6cb66d86d2
153 changed files with 2078 additions and 3094 deletions

View file

@ -0,0 +1,62 @@
{ pkgs, username, ... }:
{
services.xserver = {
enable = false;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
environment.gnome.excludePackages = with pkgs; [
orca
geary
gnome-disk-utility
gnome-backgrounds
gnome-user-docs
epiphany
yelp
gnome-software
totem
snapshot
simple-scan
gnome-console
gnome-text-editor
gnome-tour
gnome-bluetooth
gnome-music
gnome-maps
gnome-contacts
gnome-calendar
gnome-connections
];
environment.systemPackages = with pkgs; [
ghostty
dconf-editor
] ++ (with pkgs.gnomeExtensions; [
caffeine
accent-directories
just-perfection
quick-settings-tweaker
forge
]);
environment.persistence."/nix/persist" = {
directories = [
"/var/lib/AccountsService"
];
users."${username}" = {
directories = [
".config/dconf"
# Right now I don't really modify much here other than the tab group tab colour
# but I might in the future want to manage these files using home-manager instead
# of having them set imperatively and simply persisted.
".config/forge"
];
files = [
".config/monitors.xml"
];
};
};
}