diff --git a/homes/julian/pianonix.nix b/homes/julian/pianonix.nix index 4ff018a..3cc13fa 100644 --- a/homes/julian/pianonix.nix +++ b/homes/julian/pianonix.nix @@ -52,8 +52,9 @@ # Autostart link home.file = { # ".config/autostart/sheet-organizer.desktop".source = "${pkgs.sheet-organizer}/share/applications/sheet-organizer.desktop"; - # ".config/autostart/firefox.desktop".source = "${pkgs.firefox}/share/applications/firefox.desktop"; - ".config/autostart/chromium.desktop".source = "${pkgs.chromium}/share/applications/chromium.desktop"; + ".config/autostart/firefox.desktop".source = "${pkgs.firefox}/share/applications/firefox.desktop"; + ".config/autostart/onboard.desktop".source = "${pkgs.onboard}/share/applications/onboard.desktop"; + # ".config/autostart/chromium.desktop".source = "${pkgs.chromium}/share/applications/chromium.desktop"; ".config/sheet-organizer/config.toml".text = '' working_directory = "/home/julian/Klavier" ''; diff --git a/hosts/pianonix/default.nix b/hosts/pianonix/default.nix index f61bf7e..d2c4f0e 100644 --- a/hosts/pianonix/default.nix +++ b/hosts/pianonix/default.nix @@ -31,9 +31,12 @@ # enabled by fish, disabling speeds up builds documentation.man.generateCaches = false; - networking.enableIPv6 = false; # This only leads to issues with avahi + # networking.enableIPv6 = false; # This only leads to issues with avahi + # services.avahi.ipv6 = false; + hardware.raspberry-pi."4".bluetooth.enable = true; hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; services.blueman.enable = true; # bluetooth gui # raspberry pi specific # systemd.services.btattach = { diff --git a/hosts/pianonix/hardware-configuration.nix b/hosts/pianonix/hardware-configuration.nix index eee6733..a2e2028 100644 --- a/hosts/pianonix/hardware-configuration.nix +++ b/hosts/pianonix/hardware-configuration.nix @@ -14,12 +14,12 @@ boot.initrd.kernelModules = []; boot.kernelModules = []; boot.extraModulePackages = []; - boot.kernelPackages = pkgs.linuxPackages_latest; # use latest linux kernel - boot.supportedFilesystems = lib.mkForce [ - # remove zfs, since its incompatible with latest kernel - "vfat" - "ext4" - ]; + boot.kernelPackages = pkgs.linuxKernel.packages.linux_rpi4; + # boot.supportedFilesystems = lib.mkForce [ + # # remove zfs, since its incompatible with latest kernel + # "vfat" + # "ext4" + # ]; fileSystems."/" = { device = "/dev/disk/by-label/NIXOS_SD";