pianonix: add bluetooth, fix firefox autostart
This commit is contained in:
@@ -52,8 +52,9 @@
|
|||||||
# Autostart link
|
# Autostart link
|
||||||
home.file = {
|
home.file = {
|
||||||
# ".config/autostart/sheet-organizer.desktop".source = "${pkgs.sheet-organizer}/share/applications/sheet-organizer.desktop";
|
# ".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/firefox.desktop".source = "${pkgs.firefox}/share/applications/firefox.desktop";
|
||||||
".config/autostart/chromium.desktop".source = "${pkgs.chromium}/share/applications/chromium.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 = ''
|
".config/sheet-organizer/config.toml".text = ''
|
||||||
working_directory = "/home/julian/Klavier"
|
working_directory = "/home/julian/Klavier"
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -31,9 +31,12 @@
|
|||||||
# enabled by fish, disabling speeds up builds
|
# enabled by fish, disabling speeds up builds
|
||||||
documentation.man.generateCaches = false;
|
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.enable = true;
|
||||||
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
services.blueman.enable = true; # bluetooth gui
|
services.blueman.enable = true; # bluetooth gui
|
||||||
# raspberry pi specific
|
# raspberry pi specific
|
||||||
# systemd.services.btattach = {
|
# systemd.services.btattach = {
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest; # use latest linux kernel
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
|
||||||
boot.supportedFilesystems = lib.mkForce [
|
# boot.supportedFilesystems = lib.mkForce [
|
||||||
# remove zfs, since its incompatible with latest kernel
|
# # remove zfs, since its incompatible with latest kernel
|
||||||
"vfat"
|
# "vfat"
|
||||||
"ext4"
|
# "ext4"
|
||||||
];
|
# ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-label/NIXOS_SD";
|
device = "/dev/disk/by-label/NIXOS_SD";
|
||||||
|
|||||||
Reference in New Issue
Block a user