fixe spacenavd, new wallpaper

This commit is contained in:
Schrottkatze 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 fspy
scribus scribus
onlyoffice-bin
digikam digikam
darktable darktable
rawtherapee rawtherapee

View file

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

View file

@ -7,9 +7,9 @@ in with lib; {
enable = mkEnableOption "Enable gaming stuff"; enable = mkEnableOption "Enable gaming stuff";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
nixpkgs.overlays = [ #nixpkgs.overlays = [
(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay #(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
]; #];
programs.steam.enable = true; programs.steam.enable = true;
home-manager.users.jade = { pkgs, ... }: { home-manager.users.jade = { pkgs, ... }: {
home.packages = with 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. # TODO: clean up.
nvtop-amd nvtop-amd
libGL libGL
libreoffice-fresh
]; ];
environment.pathsToLink = [ environment.pathsToLink = [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 KiB

After

Width:  |  Height:  |  Size: 8.4 MiB