1
0
Fork 0

Remove Telegram; tweak Gnome

This commit is contained in:
Aires 2024-05-11 20:29:29 -04:00
parent 92a96ec86e
commit 1e1a9d6b5a
5 changed files with 21 additions and 18 deletions

View file

@ -150,11 +150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715348159, "lastModified": 1715380449,
"narHash": "sha256-nP0PJZ3dR0ols1V+w+sYBki7JlSRFvFJ8J8B00Oa7BM=", "narHash": "sha256-716+f9Rj3wjSyD1xitCv2FcYbgPz1WIVDj+ZBclH99Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "223743313bab8b0b44a57eaf9573de9f69082b4d", "rev": "d7682620185f213df384c363288093b486b2883f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -218,11 +218,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715278311, "lastModified": 1715442723,
"narHash": "sha256-Z787hdZuwBhQCQOeOmln5j9cCKxDWql7tbF1ukKDFZU=", "narHash": "sha256-pXMH7lqr5bT2FjH/3tEdTT/+1+hKx+15WkcGKycWWSM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "c8ab1e79ba0140bc75731c75177242089506260b", "rev": "87b7b7e4bd936301b139e472589d1966b136f45f",
"revCount": 75, "revCount": 76,
"type": "git", "type": "git",
"url": "https://git.lix.systems/lix-project/nixos-module" "url": "https://git.lix.systems/lix-project/nixos-module"
}, },

View file

@ -34,7 +34,7 @@ in
}; };
dj.enable = true; dj.enable = true;
gaming.enable = true; gaming.enable = true;
kdeconnect.enable = true; kdeconnect.enable = false;
media.enable = true; media.enable = true;
office.enable = true; office.enable = true;
recording.enable = true; recording.enable = true;

View file

@ -8,6 +8,11 @@
# Gaming-related settings # Gaming-related settings
let let
cfg = config.host.apps.gaming; cfg = config.host.apps.gaming;
reset-controllers-script = pkgs.writeShellScriptBin "reset-controllers" ''
#!/usr/bin/env bash
sudo rmmod hid_xpadneo && sudo modprobe hid_xpadneo
sudo systemctl restart bluetooth.service
'';
in in
with lib; with lib;
{ {
@ -28,5 +33,8 @@ with lib;
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ]; extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
kernelModules = [ "hid_xpadneo" ]; kernelModules = [ "hid_xpadneo" ];
}; };
# Add script to restart xpadneo in case of issues
environment.systemPackages = [ reset-controllers-script ];
}; };
} }

View file

@ -100,10 +100,11 @@ with lib;
# Gnome tweak tools # Gnome tweak tools
gnome.gnome-tweaks gnome.gnome-tweaks
# Gnome extensions # Gnome extensions
# FIXME: Disable temporarily due to broken version in Nixpkgs gnomeExtensions.alphabetical-app-grid
#gnomeExtensions.appindicator gnomeExtensions.another-window-session-manager
#gnomeExtensions.dash-to-panel gnomeExtensions.appindicator
#gnomeExtensions.forge gnomeExtensions.dash-to-panel
gnomeExtensions.forge
# Themeing # Themeing
gnome.gnome-themes-extra gnome.gnome-themes-extra
papirus-icon-theme papirus-icon-theme

View file

@ -46,12 +46,6 @@ with lib;
linger = true; linger = true;
}; };
# Install aires-specific Flatpaks
services.flatpak.packages = mkIf config.services.flatpak.enable [
"com.discordapp.Discord"
"org.telegram.desktop"
];
# Configure home-manager # Configure home-manager
home-manager.users.aires = { home-manager.users.aires = {
imports = [ imports = [