messed around with quite a lot
This commit is contained in:
parent
2bcd6b7ffe
commit
6153225183
|
@ -9,6 +9,7 @@
|
||||||
outputs.homeManagerModules.shellColors
|
outputs.homeManagerModules.shellColors
|
||||||
outputs.homeManagerModules.microColors
|
outputs.homeManagerModules.microColors
|
||||||
outputs.homeManagerModules.gnomeBindings
|
outputs.homeManagerModules.gnomeBindings
|
||||||
|
outputs.homeManagerModules.disableNews
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "oatmealine";
|
home.username = "oatmealine";
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
shellColors = import ./shell-colors.nix;
|
shellColors = import ./shell-colors.nix;
|
||||||
microColors = import ./micro-colors.nix;
|
microColors = import ./micro-colors.nix;
|
||||||
gnomeBindings = import ./gnome-bindings.nix;
|
gnomeBindings = import ./gnome-bindings.nix;
|
||||||
|
disableNews = import ./disable-news.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# It doesn't even work out of the box with flakes...
|
||||||
|
# <https://github.com/nix-community/home-manager/issues/2033#issuecomment-1801557851>
|
||||||
|
#
|
||||||
|
# Include this in the `modules` passed to
|
||||||
|
# `inputs.home-manager.lib.homeManagerConfiguration`.
|
||||||
|
{ lib, ... }: {
|
||||||
|
# disabledModules = [ "misc/news.nix" ];
|
||||||
|
config = {
|
||||||
|
news.display = "silent";
|
||||||
|
news.json = lib.mkForce { };
|
||||||
|
news.entries = lib.mkForce [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,6 +16,7 @@
|
||||||
./security.nix
|
./security.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./software.nix
|
./software.nix
|
||||||
|
./wireguard.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
doas
|
doas
|
||||||
catppuccin-gtk
|
catppuccin-gtk
|
||||||
home-manager
|
home-manager
|
||||||
|
wireguard-tools
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables.EDITOR = "micro";
|
environment.variables.EDITOR = "micro";
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
networking.firewall.checkReversePath = false;
|
||||||
|
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||||
|
|
||||||
|
networking.wg-quick.interfaces.wg0 = {
|
||||||
|
address = [ "10.100.0.6/32" ];
|
||||||
|
privateKeyFile = "/home/oatmealine/wireguard-keys/private";
|
||||||
|
|
||||||
|
listenPort = 51820;
|
||||||
|
|
||||||
|
peers = [
|
||||||
|
{
|
||||||
|
publicKey = "fOb9kJS1992n5dHu0YvzEMEHkSdc1tDzfRFILQLj6W8=";
|
||||||
|
allowedIPs = [ "0.0.0.0/0" "::/0" ];
|
||||||
|
endpoint = "46.4.96.113:51820";
|
||||||
|
# ensure connection is stable under NATs
|
||||||
|
persistentKeepalive = 25;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
}
|
Loading…
Reference in New Issue