This commit is contained in:
Kris
2026-03-28 18:31:43 +02:00
parent bcb06844ca
commit c87bd55ce3
66 changed files with 1034 additions and 1222 deletions

View File

@@ -3,8 +3,6 @@
let
userName = "kris";
realName = "Kris";
configRoot = "/etc/nixos";
quickshellRoot = "${configRoot}/Shell";
in {
imports = [
@@ -17,11 +15,16 @@ in {
# ./apps/ancs.nix
];
services.displayManager.gdm.enable = true;
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.displayManager.autoLogin = {
enable = true;
user = userName;
};
boot.loader.grub.theme = inputs.deltarune-grub-theme;
boot.loader.grub.theme = lib.mkDefault inputs.deltarune-grub-theme;
boot.kernelPackages = pkgs.linuxPackages_cachyos-lto;
# boot.kernelPackages = pkgs.linuxPackages_cachyos-lto;
services.scx.enable = true;
services.scx.scheduler = "scx_bpfland";
@@ -39,20 +42,6 @@ in {
# services.ancs.enable = true;
services.flatpak.enable = true;
services.flatpak.remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
services.flatpak.packages = [
{
appId = "com.modrinth.ModrinthApp";
origin = "flathub";
}
];
services.printing = {
enable = true;
drivers = with pkgs; [
@@ -95,12 +84,6 @@ in {
};
};
# Sadly, I don't know how to install flatpaks like this.
# services.flatpak.packages = [
# "com.usebottles.bottles"
# { flatpakref = "https://sober.vinegarhq.org/sober.flatpakref"; sha256 = "0"; }
# ];
programs.hyprland = {
enable = true;
xwayland.enable = true;
@@ -123,10 +106,7 @@ in {
equibop
code-cursor
kdePackages.kdenlive
libsForQt5.qt5ct
catppuccin-qt5ct
darkly
kdePackages.qt6ct
hyfetch
kitty
];
@@ -138,8 +118,6 @@ in {
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-gtk
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
];
};
@@ -173,6 +151,7 @@ in {
programs.dconf.enable = true;
services.gvfs.enable = true;
services.flatpak.enable = true;
# home-manager.services.mpris-proxy.enable = true;
@@ -184,7 +163,10 @@ in {
accent = "blue";
};
home-manager.users.${userName} = { programs, config, pkgs, ... }: {
home-manager.users.${userName} = { programs, config, pkgs, ... }:
let
system = pkgs.stdenv.hostPlatform.system;
in {
imports = [
inputs.catppuccin.homeModules.catppuccin
@@ -193,11 +175,7 @@ in {
gtk = {
enable = true;
cursorTheme = {
name = "RalseiCursors";
package = pkgs.callPackage ./packages/ralsei-cursors/default.nix {};
};
gtk4.theme = config.gtk.theme;
iconTheme = {
name = "Arashi";
@@ -205,12 +183,29 @@ in {
};
};
home.pointerCursor = {
name = "RalseiCursors";
package = pkgs.callPackage ./packages/ralsei-cursors/default.nix {};
size = 24;
gtk.enable = true;
x11.enable = true;
};
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
# we're already using arashi
gtk.icon.enable = false;
cursors.enable = false;
qt5ct.enable = true;
kvantum.enable = true;
};
qt = {
enable = true;
platformTheme.name = "qtct";
style.name = "kvantum";
};
programs.zen-browser = {
@@ -222,63 +217,26 @@ in {
};
};
home.file.".config/fastfetch" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/fastfetch";
recursive = true;
};
home.file.".config/dunst" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/dunst";
recursive = true;
};
# home.file.".config/gtk-3.0" = {
# source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/gtk-3.0";
# recursive = true;
# };
home.file.".config/hypr" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/hypr";
recursive = true;
};
home.file.".config/xdg-desktop-portal" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/xdg-desktop-portal";
recursive = true;
};
home.file.".local/share/fonts/DotfilesFont.otf" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/dotfile_deps/DotfilesFont.otf";
source = ../../config/dotfile_deps/DotfilesFont.otf;
};
home.file.".config/wlogout" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/wlogout";
recursive = true;
programs.quickshell = {
enable = true;
package = inputs.quickshell.packages.${system}.default.withModules (
with pkgs.qt6; [
qtimageformats
qtmultimedia
qtsvg
qt5compat
]
);
configs = {
default = ../../Shell;
DeltaruneQuickshell = ../../Shell;
};
};
home.file.".config/qt5ct" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/qt5ct";
recursive = true;
};
home.file.".config/wofi" = {
source = config.lib.file.mkOutOfStoreSymlink "${configRoot}/config/wofi";
recursive = true;
};
home.file.".config/quickshell/default" = {
source = config.lib.file.mkOutOfStoreSymlink quickshellRoot;
recursive = true;
};
home.file.".config/quickshell/DeltaruneQuickshell" = {
source = config.lib.file.mkOutOfStoreSymlink quickshellRoot;
recursive = true;
};
# xdg.configHome = "${configRoot}/config";
services.mpris-proxy.enable = true;
programs.chromium = {
@@ -309,8 +267,11 @@ in {
programs.git = {
enable = true;
userName = realName;
userEmail = "kris@kris.darkworld.download";
signing.format = "openpgp";
settings.user = {
name = realName;
email = "kris@kris.darkworld.download";
};
};
programs.obs-studio = {