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

View File

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

View File

@ -160,6 +160,19 @@
gid = 1000; 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: # List services that you want to enable:
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = false; services.openssh.enable = false;