aspi: fix keyring, make wg-quick start on boot

This commit is contained in:
Julian Mutter 2024-06-12 23:41:28 +02:00
parent 3d59481c9d
commit 2ab74d5f7a
3 changed files with 48 additions and 31 deletions

View File

@ -39,7 +39,9 @@
nix-helper.enable = true;
};
home.packages = with pkgs; [
home.packages =
with pkgs;
[
# Code formatters for use with doom emacs
nixfmt-rfc-style # nix
dockfmt # docker
@ -60,7 +62,7 @@
(lib.frajul.my-helper-function lazygit)
languagetool
wireguard-tools
# wireguard-tools
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
@ -71,8 +73,8 @@
## My scripts
pkgs.frajul.deploy-to-pianopi
pkgs.frajul.edit-config
] ++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; })
[
]
++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; }) [
./fonts.nix
./packages.nix
];

View File

@ -77,7 +77,7 @@ with pkgs;
topgrade
arandr
wireguard-tools
# wireguard-tools
htop
texlive.combined.scheme-full
texlab
@ -167,4 +167,6 @@ with pkgs;
## My scripts
frajul.edit-config
nheko
]

View File

@ -160,6 +160,19 @@
gid = 1000;
};
programs.seahorse.enable = true;
services.gnome.gnome-keyring.enable = true;
# systemd.services."wg-quick@julian".enable = true;
# networking.wireguard.enable = true;
# This interface is started on boot / switch
networking.wg-quick.interfaces = {
julian = {
configFile = "/etc/wireguard/julian.conf";
};
};
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = false;