mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
niri fixes
This commit is contained in:
parent
748624c12f
commit
bca8eb1549
10 changed files with 36 additions and 83 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
gtk-theme = ''
|
gtk-theme = ''
|
||||||
gsettings set org.gnome.desktop.interface color-scheme prefer-light
|
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
noctalia = ''
|
noctalia = ''
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
darkModeScripts = {
|
darkModeScripts = {
|
||||||
gtk-theme = ''
|
gtk-theme = ''
|
||||||
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
noctalia = ''
|
noctalia = ''
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
# home.packages = with pkgs; [
|
||||||
gnome-tweaks
|
# gnome-tweaks
|
||||||
];
|
# ];
|
||||||
|
|
||||||
programs.gnome-shell = {
|
programs.gnome-shell = {
|
||||||
enable = true;
|
enable = false;
|
||||||
extensions = [
|
extensions = [
|
||||||
# {package = pkgs.gnomeExtensions.power-off-options;}
|
# {package = pkgs.gnomeExtensions.power-off-options;}
|
||||||
{package = pkgs.gnomeExtensions.auto-power-profile;}
|
{package = pkgs.gnomeExtensions.auto-power-profile;}
|
||||||
|
|
|
||||||
|
|
@ -1,34 +1,9 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
adw-gtk3
|
|
||||||
|
|
||||||
discord
|
discord
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice
|
libreoffice
|
||||||
obsidian
|
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
|
|
||||||
# },
|
|
||||||
# }
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,43 +14,34 @@ in {
|
||||||
noctalia
|
noctalia
|
||||||
inputs.quickshell.packages.${system}.default
|
inputs.quickshell.packages.${system}.default
|
||||||
|
|
||||||
|
glib
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
|
||||||
mods.xwayland-satellite
|
mods.xwayland-satellite
|
||||||
wlsunset
|
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 = {
|
home.shellAliases = {
|
||||||
restart-shell = "${noctalia} kill && niri msg action spawn -- \"${noctalia}\"";
|
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 = {
|
programs.niri.settings = {
|
||||||
cursor = {
|
cursor = {
|
||||||
size = 12;
|
size = 12;
|
||||||
theme = "Adwaita";
|
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 = {
|
input = {
|
||||||
# keyboard {
|
# keyboard {
|
||||||
# xkb {
|
# xkb {
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ in {
|
||||||
# package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
# package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||||
# };
|
# };
|
||||||
|
|
||||||
enable = true;
|
# enable = true;
|
||||||
autoEnable = false;
|
# autoEnable = false;
|
||||||
|
|
||||||
# targets.alacritty.enable = false;
|
# targets.alacritty.enable = false;
|
||||||
# targets.helix.enable = false;
|
# targets.helix.enable = false;
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,13 @@
|
||||||
|
|
||||||
../../modules/nixos/boot.nix
|
../../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/android-studio.nix
|
||||||
# ../../modules/nixos/docker.nix
|
# ../../modules/nixos/docker.nix
|
||||||
../../modules/nixos/podman.nix
|
# ../../modules/nixos/podman.nix
|
||||||
|
|
||||||
../../modules/nixos/niri.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|
@ -36,7 +37,7 @@
|
||||||
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "wash"; # Define your hostname.
|
networking.hostName = "wash";
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
@ -115,10 +116,9 @@
|
||||||
sqlite
|
sqlite
|
||||||
vscode.fhs
|
vscode.fhs
|
||||||
lm_sensors
|
lm_sensors
|
||||||
nautilus
|
|
||||||
|
|
||||||
unstable.android-studio
|
# unstable.android-studio
|
||||||
jetbrains.rust-rover
|
# jetbrains.rust-rover
|
||||||
# jetbrains.rider
|
# jetbrains.rider
|
||||||
|
|
||||||
pre-commit
|
pre-commit
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
homeDirectory = "/home/tyler";
|
homeDirectory = "/home/tyler";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
godot
|
# godot
|
||||||
];
|
];
|
||||||
|
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
plymouth = {
|
plymouth = {
|
||||||
enable = false;
|
enable = true;
|
||||||
themePackages = [pkgs.catppuccin-plymouth];
|
themePackages = [pkgs.catppuccin-plymouth];
|
||||||
theme = "catppuccin-macchiato";
|
theme = "catppuccin-macchiato";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
# services.xserver.desktopManager.gnome.enable = true;
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,30 +1,17 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.niri.nixosModules.niri
|
inputs.niri.nixosModules.niri
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
niri-flake.cache.enable = true;
|
niri-flake.cache.enable = true;
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
# programs.niri.package = pkgs.niri-unstable;
|
|
||||||
|
|
||||||
xdg.portal = {
|
environment.systemPackages = with pkgs; [
|
||||||
enable = true;
|
nautilus
|
||||||
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"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue