meow
This commit is contained in:
parent
c999ed6520
commit
35c8ebb56a
20 changed files with 670 additions and 405 deletions
|
|
@ -4,34 +4,36 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.xyno.presets.gui;
|
||||
in
|
||||
{
|
||||
options.xyno.presets.gui.enable = lib.mkEnableOption "enables xynos gui config";
|
||||
options.xyno.presets.gui.terminalEmulator = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "alacritty";
|
||||
options.xyno.presets.gui.enable = mkEnableOption "enables xynos gui config";
|
||||
options.xyno.presets.gui.terminalEmulator = mkOption {
|
||||
type = types.str;
|
||||
default = "foot";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf cfg.enable {
|
||||
services.udev.packages = [
|
||||
pkgs.openocd # fix permission errors with connecting things (especially esp32-c3)
|
||||
pkgs.ptouch-print
|
||||
pkgs.yubikey-personalization
|
||||
];
|
||||
xyno.desktop.niri.enable = true;
|
||||
xyno.desktop.audio.enable = lib.mkDefault true;
|
||||
xyno.desktop.audio.enable = mkDefault true;
|
||||
boot.kernelPackages = mkDefault pkgs.linuxPackages_zen;
|
||||
security.soteria.enable = true;
|
||||
security.rtkit.enable = true;
|
||||
services.pcscd.enable = true;
|
||||
services.pcscd.plugins = [ pkgs.pcsc-scm-scl011];
|
||||
services.pcscd.plugins = [ pkgs.pcsc-scm-scl011 ];
|
||||
xyno.hardware.kmonad.enable = true;
|
||||
# wayland on electron
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
services.displayManager.defaultSession = "niri";
|
||||
# gdm
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.gdm.wayland = true;
|
||||
services.displayManager.gdm.enable = true;
|
||||
# services.xserver.enable = true;
|
||||
services.displayManager.gdm.wayland = true;
|
||||
# ssh agent
|
||||
programs.ssh.startAgent = true;
|
||||
|
||||
|
|
@ -67,8 +69,8 @@ in
|
|||
# enable the gnome shit
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
services.gnome.gnome-online-accounts.enable = true;
|
||||
services.gnome.core-utilities.enable = true;
|
||||
services.gnome.gcr-ssh-agent.enable = lib.mkForce false;
|
||||
services.gnome.core-apps.enable = true;
|
||||
services.gnome.gcr-ssh-agent.enable = mkForce false;
|
||||
services.gnome.sushi.enable = true;
|
||||
services.gnome.gnome-settings-daemon.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
|
|
@ -81,9 +83,10 @@ in
|
|||
|
||||
environment.sessionVariables.GTK_USE_PORTAL = "1";
|
||||
|
||||
# home-manager.users.${config.xyno.system.user.name} =
|
||||
# { pkgs, ... }:
|
||||
# {
|
||||
home-manager.users.${config.xyno.system.user.name} =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
xyno.mpv.enable = true;
|
||||
# xdg.mimeApps = {
|
||||
# enable = true;
|
||||
# defaultApplications = {
|
||||
|
|
@ -104,7 +107,7 @@ in
|
|||
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kdePackages.breeze-gtk
|
||||
|
|
@ -113,11 +116,16 @@ in
|
|||
kdePackages.breeze-icons
|
||||
];
|
||||
|
||||
|
||||
# fonts
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
sansSerif = ["Source Sans 3" "Noto Sans Symbols 2"];
|
||||
monospace = ["JetBrainsMono Nerd Font" "Noto Sans Symbols 2"];
|
||||
sansSerif = [
|
||||
"Source Sans 3"
|
||||
"Noto Sans Symbols 2"
|
||||
];
|
||||
monospace = [
|
||||
"JetBrainsMono Nerd Font"
|
||||
"Noto Sans Symbols 2"
|
||||
];
|
||||
};
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.jetbrains-mono
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue