Compare commits
5 Commits
ca20fa6c35
...
9bcca96597
| Author | SHA1 | Date | |
|---|---|---|---|
| 9bcca96597 | |||
| 78e219a6cb | |||
| 8b958d6a56 | |||
| 1a1aa20690 | |||
| 54952923f3 |
@@ -47,6 +47,10 @@ with lib; {
|
|||||||
end
|
end
|
||||||
nix shell $args
|
nix shell $args
|
||||||
'';
|
'';
|
||||||
|
fish_user_key_bindings = ''
|
||||||
|
bind ctrl-space 'zi; commandline -f repaint'
|
||||||
|
bind -M insert ctrl-space 'zi; commandline -f repaint'
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -29,6 +29,8 @@
|
|||||||
networking.hostName = "aspi";
|
networking.hostName = "aspi";
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
|
# networking.firewall.checkReversePath = false; # Makes wg interface with all ips work
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -31,6 +31,10 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.resolved.enable = true;
|
services.resolved.enable = true;
|
||||||
|
# MDNS Taken by avahi
|
||||||
|
services.resolved.extraConfig = ''
|
||||||
|
MulticastDNS=false
|
||||||
|
'';
|
||||||
|
|
||||||
networking.nameservers = lib.mkDefault [
|
networking.nameservers = lib.mkDefault [
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ in {
|
|||||||
sshKeyPaths = map getKeyPath keys;
|
sshKeyPaths = map getKeyPath keys;
|
||||||
|
|
||||||
# TODO: remove? only rely on ssh or pgp keys (e.g. ubikey like misterio is using!!!)
|
# TODO: remove? only rely on ssh or pgp keys (e.g. ubikey like misterio is using!!!)
|
||||||
keyFile = "/home/julian/.config/sops/age/keys.txt";
|
# keyFile = "/home/julian/.config/sops/age/keys.txt";
|
||||||
# Generate key if none of the above worked. With this, building will still work, just without secrets
|
# Generate key if none of the above worked. With this, building will still work, just without secrets
|
||||||
generateKey = false; # TODO: building should not work without secrets!?
|
generateKey = false; # TODO: building should not work without secrets!?
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,10 @@
|
|||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
|
nssmdns6 = true;
|
||||||
publish.enable = true;
|
publish.enable = true;
|
||||||
publish.addresses = true;
|
publish.addresses = true;
|
||||||
|
ipv4 = true;
|
||||||
|
ipv6 = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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