updated flake structure
This commit is contained in:
parent
fdc0126f0f
commit
7cf7cd6a60
11 changed files with 59 additions and 14 deletions
119
core/display.nix
119
core/display.nix
|
|
@ -1,119 +0,0 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
## planning to have a discrete config file for
|
||||
## the greeter(s) to keep this file tidy.
|
||||
#./regreet-config.nix
|
||||
#./sddm-config.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
|
||||
## xserver still needed for xwayland stuff
|
||||
xserver.enable = true;
|
||||
|
||||
## Current login greeter/display manager,
|
||||
## set to run wayland.
|
||||
displayManager = {
|
||||
enable = true;
|
||||
#defaultSession = "sway";
|
||||
sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
||||
## Standard(?) xwayland implementation
|
||||
xwayland = {
|
||||
enable = true;
|
||||
#package = [ ];
|
||||
#defaultFontPath = "/run/current-system/sw/share/X11/fonts";
|
||||
};
|
||||
|
||||
## Temporary, fuck vaxery or whatever his name is
|
||||
## punk-ass motherfucker, swayfx looks neat
|
||||
hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
## Hyprland's implementation of xwayland
|
||||
#xwayland.enable = true;
|
||||
};
|
||||
|
||||
## enable sway window manager
|
||||
sway = {
|
||||
enable = true;
|
||||
## Sways implementation of xwayland
|
||||
#xwayland.enable = true;
|
||||
package = pkgs.swayfx;
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
};
|
||||
|
||||
## To start sway related services
|
||||
systemd.user.targets.sway = {
|
||||
description = "to start sway related services";
|
||||
wants = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xorg.xhost
|
||||
#dconf # redundant, adding for completeness
|
||||
dconf-editor # For editing dconf settings graphically
|
||||
#xdg-utils
|
||||
#xdg-desktop-portal
|
||||
#xdg-desktop-portal-gtk
|
||||
#xdg-desktop-portal-wlr
|
||||
#xdg-desktop-portal-gnome
|
||||
#xdg-desktop-portal-hyprland
|
||||
];
|
||||
|
||||
## I put fonts here because i didn't know where tf else to put them lol
|
||||
## CURRENTLY BROKEN, PLEASE FIX - Out of date ?
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
spleen
|
||||
terminus_font
|
||||
terminus_font_ttf
|
||||
(nerdfonts.override { fonts = ["NerdFontsSymbolsOnly"]; })
|
||||
];
|
||||
fontDir.enable = true;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "spleen-32x64" ];
|
||||
sansSerif = [ "spleen-32x64" ];
|
||||
monospace = [ "TerminusTTF" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#xdg.portal = {
|
||||
#enable = true;
|
||||
#xdgOpenUsePortal = true;
|
||||
#config = {
|
||||
#common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||
#common.default = [ "gtk" "gnome" ];
|
||||
#sway.default = [ "gtk" "gnome" ];
|
||||
#hyprland.default = [ "hyprland" "gtk" "gnome" ];
|
||||
#};
|
||||
#configPackages = with pkgs; [
|
||||
#xdg-desktop-portal-gtk
|
||||
#xdg-desktop-portal-wlr
|
||||
#xdg-desktop-portal-gnome
|
||||
#xdg-desktop-portal-hyprland
|
||||
#];
|
||||
#extraPortals = with pkgs; [
|
||||
#xdg-desktop-portal-gtk
|
||||
#xdg-desktop-portal-wlr
|
||||
#xdg-desktop-portal-gnome
|
||||
#xdg-desktop-portal-hyprland
|
||||
#];
|
||||
#};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue