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,43 +39,45 @@
nix-helper.enable = true; nix-helper.enable = true;
}; };
home.packages = with pkgs; [ home.packages =
# Code formatters for use with doom emacs with pkgs;
nixfmt-rfc-style # nix [
dockfmt # docker # Code formatters for use with doom emacs
google-java-format # java nixfmt-rfc-style # nix
dockfmt # docker
google-java-format # java
# Lsps for use with doom emacs # Lsps for use with doom emacs
# neocmakelsp # cmake # neocmakelsp # cmake
# Rust setup # Rust setup
unstable.rustc unstable.rustc
unstable.rustfmt unstable.rustfmt
unstable.cargo unstable.cargo
unstable.clippy unstable.clippy
unstable.rust-analyzer unstable.rust-analyzer
# Further tools # Further tools
cntr # nix debugger cntr # nix debugger
(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" ]; })
# (pkgs.writeShellScriptBin "my-hello" '' # (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!" # echo "Hello, ${config.home.username}!"
# '') # '')
## 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
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;

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;