niri fixes

This commit is contained in:
Tyler Mayoff 2025-09-19 13:26:16 -04:00
parent 748624c12f
commit bca8eb1549
10 changed files with 36 additions and 83 deletions

View file

@ -11,7 +11,7 @@
'';
gtk-theme = ''
gsettings set org.gnome.desktop.interface color-scheme prefer-light
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
'';
noctalia = ''
@ -21,7 +21,7 @@
darkModeScripts = {
gtk-theme = ''
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'
'';
noctalia = ''

View file

@ -1,10 +1,10 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gnome-tweaks
];
# home.packages = with pkgs; [
# gnome-tweaks
# ];
programs.gnome-shell = {
enable = true;
enable = false;
extensions = [
# {package = pkgs.gnomeExtensions.power-off-options;}
{package = pkgs.gnomeExtensions.auto-power-profile;}

View file

@ -1,34 +1,9 @@
{pkgs, ...}: {
imports = [
];
home.packages = with pkgs; [
adw-gtk3
discord
# Office
libreoffice
obsidian
];
# programs.vscode.enable = true;
# programs.alacritty = {
# enable = true;
# };
# programs.wezterm = {
# enable = false;
# extraConfig = ''
# return {
# font_size=9.25,
# color_scheme="catppuccin-latte",
# hide_tab_bar_if_only_one_tab = true,
# window_frame = {
# font_size = 10
# },
# }
# '';
# };
}

View file

@ -14,43 +14,34 @@ in {
noctalia
inputs.quickshell.packages.${system}.default
glib
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
gnome-keyring
mods.xwayland-satellite
wlsunset
];
# xdg.portal = {
# enable = true;
# extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
# config = {
# niri = {
# default = ["gnome" "gtk"];
# "org.freedesktop.impl.portal.Access" = ["gtk"];
# "org.freedesktop.impl.portal.Notification" = ["gtk"];
# "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
# };
# };
# };
home.shellAliases = {
restart-shell = "${noctalia} kill && niri msg action spawn -- \"${noctalia}\"";
};
gtk = {
enable = true;
# theme.name = "Adwaita";
iconTheme = {
package = pkgs.tela-icon-theme;
name = "Tela";
};
};
programs.niri.settings = {
cursor = {
size = 12;
theme = "Adwaita";
};
# This config is in the KDL format: https://kdl.dev
# "/-" comments out the following node.
# Check the wiki for a full description of the configuration:
# https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
# Input device configuration.
# Find the full list of options on the wiki:
# https://github.com/YaLTeR/niri/wiki/Configuration:-Input
input = {
# keyboard {
# xkb {

View file

@ -14,8 +14,8 @@ in {
# package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
# };
enable = true;
autoEnable = false;
# enable = true;
# autoEnable = false;
# targets.alacritty.enable = false;
# targets.helix.enable = false;

View file

@ -9,12 +9,13 @@
../../modules/nixos/boot.nix
../../modules/nixos/gnome.nix
# Desktop environment
../../modules/nixos/niri.nix
# ../../modules/nixos/gnome.nix
# ../../modules/nixos/android-studio.nix
# ../../modules/nixos/docker.nix
../../modules/nixos/podman.nix
../../modules/nixos/niri.nix
# ../../modules/nixos/podman.nix
];
nixpkgs = {
@ -36,7 +37,7 @@
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
};
networking.hostName = "wash"; # Define your hostname.
networking.hostName = "wash";
# Enable networking
networking.networkmanager.enable = true;
@ -115,10 +116,9 @@
sqlite
vscode.fhs
lm_sensors
nautilus
unstable.android-studio
jetbrains.rust-rover
# unstable.android-studio
# jetbrains.rust-rover
# jetbrains.rider
pre-commit

View file

@ -20,7 +20,7 @@
homeDirectory = "/home/tyler";
packages = with pkgs; [
godot
# godot
];
stateVersion = "23.11";

View file

@ -12,7 +12,7 @@
};
plymouth = {
enable = false;
enable = true;
themePackages = [pkgs.catppuccin-plymouth];
theme = "catppuccin-macchiato";
};

View file

@ -1,5 +1,5 @@
{...}: {
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-keyring.enable = true;
}

View file

@ -1,30 +1,17 @@
{
inputs,
pkgs,
inputs,
...
}: {
imports = [
inputs.niri.nixosModules.niri
];
services.xserver.displayManager.gdm.enable = true;
niri-flake.cache.enable = true;
programs.niri.enable = true;
# programs.niri.package = pkgs.niri-unstable;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
wlr.enable = true;
config = {
sway = {
default = ["gtk"];
};
niri = {
default = ["gnome" "gtk"];
"org.freedesktop.impl.portal.Access" = ["gtk"];
"org.freedesktop.impl.portal.Notification" = ["gtk"];
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
};
};
};
environment.systemPackages = with pkgs; [
nautilus
];
}