fixe spacenavd, new wallpaper

This commit is contained in:
Jade 2023-03-20 23:40:08 +01:00
parent 1d2c6bb0f0
commit 25c81ef9e8
7 changed files with 35 additions and 17 deletions

View file

@ -17,6 +17,8 @@ in with lib; {
fspy
scribus
onlyoffice-bin
digikam
darktable
rawtherapee

View file

@ -52,18 +52,19 @@ in with lib; {
./social.nix
./xkeysnail.nix
./mail.nix
./specific-hardware
]).content;
options.jade.desktop = {
enable = mkEnableOption "Enable the i3 setup";
};
config = mkIf cfg.enable {
fonts.fonts = with pkgs; [
nerdfonts montserrat noto-fonts
nerdfonts montserrat noto-fonts atkinson-hyperlegible
];
hardware.bluetooth.enable = true;
hardware.keyboard.uhk.enable = true;
hardware.spacenavd.enable = true;
#hardware.spacenavd.enable = true;
programs.seahorse.enable = true;
security.pam.services.jade.enableGnomeKeyring = true;
@ -180,9 +181,6 @@ in with lib; {
qdirstat
ffmpeg_5
spacenav-cube-example
spacenavd
libspnav
# external
libnotify

View file

@ -7,9 +7,9 @@ in with lib; {
enable = mkEnableOption "Enable gaming stuff";
};
config = mkIf cfg.enable {
nixpkgs.overlays = [
(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
];
#nixpkgs.overlays = [
#(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
#];
programs.steam.enable = true;
home-manager.users.jade = { pkgs, ... }: {
home.packages = with pkgs; [

View file

@ -0,0 +1,6 @@
{ config, lib, pkgs, ... }:
{
imports = [
./spacenav.nix
];
}

View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
spacenavd
libspnav
];
systemd.services.spacenavd = {
wantedBy = [ "graphical.target" ];
script = "${pkgs.spacenavd}/bin/spacenavd -d";
};
}

View file

@ -54,6 +54,7 @@
# TODO: clean up.
nvtop-amd
libGL
libreoffice-fresh
];
environment.pathsToLink = [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 KiB

After

Width:  |  Height:  |  Size: 8.4 MiB