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;
};
home.packages = with pkgs; [
# Code formatters for use with doom emacs
nixfmt-rfc-style # nix
dockfmt # docker
google-java-format # java
home.packages =
with pkgs;
[
# Code formatters for use with doom emacs
nixfmt-rfc-style # nix
dockfmt # docker
google-java-format # java
# Lsps for use with doom emacs
# neocmakelsp # cmake
# Lsps for use with doom emacs
# neocmakelsp # cmake
# Rust setup
unstable.rustc
unstable.rustfmt
unstable.cargo
unstable.clippy
unstable.rust-analyzer
# Rust setup
unstable.rustc
unstable.rustfmt
unstable.cargo
unstable.clippy
unstable.rust-analyzer
# Further tools
cntr # nix debugger
# Further tools
cntr # nix debugger
(lib.frajul.my-helper-function lazygit)
languagetool
wireguard-tools
(lib.frajul.my-helper-function lazygit)
languagetool
# wireguard-tools
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
## My scripts
pkgs.frajul.deploy-to-pianopi
pkgs.frajul.edit-config
] ++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; })
[
./fonts.nix
./packages.nix
];
## My scripts
pkgs.frajul.deploy-to-pianopi
pkgs.frajul.edit-config
]
++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; }) [
./fonts.nix
./packages.nix
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

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;