tidied core/ and core/modules/

This commit is contained in:
serenity-F 2024-12-27 00:23:44 +10:00
parent 0d15bfd67f
commit 4482e2fdd6
9 changed files with 96 additions and 139 deletions

View file

@ -2,13 +2,11 @@
{
imports = [
## planning to have a discrete config file for
## the greeter(s) to keep this file tidy.
./regreet.nix
./regreet.nix # the greeter(s) to keep this file tidy.
];
boot = {
bootspec.enable = true;
consoleLogLevel = 0;
initrd.verbose = false;
@ -27,11 +25,11 @@
timeout = 30;
#grub = {
#theme = "${pkgs.minimal-grub-theme}";
#backgroundColor = "#000000";
#splashImage = "path/to/image";
#font = "${pkgs.spleen}/share/fonts/spleen-32x64";
#fontSize = 16;
#theme = "${pkgs.minimal-grub-theme}";
#backgroundColor = "#000000";
#splashImage = "path/to/image";
#font = "${pkgs.spleen}/share/fonts/spleen-32x64";
#fontSize = 16;
#};
};
@ -40,20 +38,18 @@
enable = true;
#logo = pkgs.fetchurl {
#url = "https://nixos.org/logo/nixos-hires.png";
#hash = "1ivzgd7iz0i06y36p8m5w48fd8pjqwxhdaavc0pxs7w1g7mcy5si";
#url = "https://nixos.org/logo/nixos-hires.png";
#hash = "1ivzgd7iz0i06y36p8m5w48fd8pjqwxhdaavc0pxs7w1g7mcy5si";
#};
#font = "${pkgs.spleen}/share/fonts/spleen-32x64";
theme = "circuit";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [
"circle"
"circuit"
];
})
];
themePackages = with pkgs;
[
(adi1090x-plymouth-themes.override {
selected_themes = [ "circle" "circuit" ];
})
];
#extraConfig = '''';
@ -73,8 +69,8 @@
## Standard(?) xwayland implementation
xwayland = {
enable = true;
#package = [ ];
#defaultFontPath = "/run/current-system/sw/share/X11/fonts";
#package = [ ];
#defaultFontPath = "/run/current-system/sw/share/X11/fonts";
};
## enable sway window manager
@ -104,25 +100,25 @@
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
};
xdg = {
portal = {
#enable = true;
#xdgOpenUsePortal = true;
#enable = true;
#xdgOpenUsePortal = true;
#config = {
#common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
#common.default = [ "gtk" "gnome" ];
#sway.default = [ "gtk" "gnome" ];
#common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
#common.default = [ "gtk" "gnome" ];
#sway.default = [ "gtk" "gnome" ];
#};
#configPackages = with pkgs; [
#xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
#xdg-desktop-portal-gnome
#xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
#xdg-desktop-portal-gnome
#];
#extraPortals = with pkgs; [
#xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
#xdg-desktop-portal-gnome
#xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
#xdg-desktop-portal-gnome
#];
};
};
@ -158,22 +154,18 @@
## I put fonts here because i didn't know where tf else to put them lol
## duplicate to home-manager config
fonts = {
packages = with pkgs; [
spleen
terminus_font
terminus_font_ttf
nerd-fonts.symbols-only
] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
packages = with pkgs;
[ spleen terminus_font terminus_font_ttf nerd-fonts.symbols-only ]
++ builtins.filter lib.attrsets.isDerivation
(builtins.attrValues pkgs.nerd-fonts);
fontDir.enable = true;
fontconfig = {
defaultFonts = {
serif = [ "spleen-32x64" ];
sansSerif = [ "spleen-32x64" ];
sansSerif = [ "spleen-32x64" ];
monospace = [ "TerminusTTF" ];
};
};
};
}