adds pano alpha and fixes for gnome extensions

This commit is contained in:
2024-11-05 19:16:37 +01:00
parent ac7376f606
commit c0626c9d27
9 changed files with 131 additions and 59 deletions

View File

@ -1,7 +1,7 @@
{ pkgs-unstable, pkgs, ... }:
{
home.packages = with pkgs; [
# GUI Applications
# GUI Application
## Utilities
pkgs-unstable.mission-center
gnome.gnome-tweaks

View File

@ -1,24 +1,37 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs.gnomeExtensions; [
tailscale-qs
gsconnect
blur-my-shell
weather-oclock
space-bar
gtk4-desktop-icons-ng-ding
logo-menu
media-controls
burn-my-windows
coverflow-alt-tab
dash-to-dock
appindicator
user-themes
autohide-battery
battery-health-charging
just-perfection
pano
];
config,
pkgs-unstable,
pkgs,
...
}:
{
# We run most extensions from unstable because they are more up-to-date
home.packages =
with pkgs.gnomeExtensions;
[
user-themes
weather-oclock
native-window-placement
]
++ (with pkgs-unstable.gnomeExtensions; [
tiling-shell
lilypad
tailscale-qs
gsconnect
blur-my-shell
space-bar
gtk4-desktop-icons-ng-ding
logo-menu
media-controls
burn-my-windows
coverflow-alt-tab
dash-to-dock
appindicator
autohide-battery
battery-health-charging
just-perfection
smile-complementary-extension
]);
# Copy burn-my-windows profile to user config
home.file.".config/burn-my-windows/profiles/default.conf".text = ''
@ -34,6 +47,7 @@
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"lilypad@shendrew.github.io"
"tilingshell@ferrarodomenico.com"
"gsconnect@andyholmes.github.io"
"blur-my-shell@aunetx"
@ -52,6 +66,7 @@
"user-theme@gnome-shell-extensions.gcampax.github.com"
"autohide-battery@sitnik.ru"
"just-perfection-desktop@just-perfection"
"native-window-placement@gnome-shell-extensions.gcampax.github.com"
];
};

View File

@ -33,7 +33,7 @@
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/emotes" = {
binding = "<Super>e";
command = "flatpak run com.tomjwatson.Emote";
command = "smile";
name = "emotes";
};
};

View File

@ -1,37 +1,4 @@
{ config, pkgs, ... }:
{
# Enable NetworkManager with Wireguard support
networking = {
networkmanager = {
enable = true;
plugins = with pkgs; [
networkmanager-vpnc
networkmanager-openvpn
];
};
};
# Add NetworkManager connection profiles
environment.etc."NetworkManager/system-connections/work-vpn.nmconnection".source = "${config.home.homeDirectory}/dotfiles/secrets/wireguard/work.wg0.conf";
# Ensure NetworkManager Wireguard support is installed
environment.systemPackages = with pkgs; [
networkmanager-wireguard
wireguard-tools
];
# Add a systemd service to set proper permissions and reload NetworkManager connections
systemd.services.reload-networkmanager-connections = {
description = "Set permissions and reload NetworkManager Connections";
wantedBy = [ "multi-user.target" ];
after = [ "NetworkManager.service" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = pkgs.writeShellScript "reload-nm-connections" ''
chmod 600 /etc/NetworkManager/system-connections/*
${pkgs.networkmanager}/bin/nmcli connection reload
'';
};
};
}