Skip to content

Commit

Permalink
feat: add wireguard VPN client (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
badele authored Nov 25, 2024
1 parent 3837bca commit 20a09df
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
home-manager.nixosModules.home-manager
{
home-manager = {
backupFileExtension = "hm-backup";
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
Expand All @@ -136,6 +137,7 @@
home-manager.nixosModules.home-manager
{
home-manager = {
backupFileExtension = "hm-backup";
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
Expand Down Expand Up @@ -164,6 +166,7 @@
home-manager.nixosModules.home-manager
{
home-manager = {
backupFileExtension = "hm-backup";
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
Expand Down
23 changes: 11 additions & 12 deletions users/badele/b4d14.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
##########################################################
# #########################################################
# HOME-MANAGER (user)
##########################################################
{ config
, inputs
, pkgs
, lib
, ...
}:
{ config, inputs, pkgs, lib, ... }:
let
feh = "${pkgs.feh}/bin/feh";
theme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
Expand Down Expand Up @@ -57,15 +52,16 @@ in
../../nix/home-manager/features/desktop/xorg/virtualisation.nix
];


###############################################################################
# Packages
###############################################################################
home.packages = with pkgs; [
# Communication
slack
];

# VPN
wireguard-tools
];

programs = {
####################################
Expand All @@ -79,8 +75,10 @@ in
profiles = {
"home-up" = {
fingerprint = {
eDP-1 = "00ffffffffffff0030e4b30600000000001f0104a522157806a205a65449a2250e505400000001010101010101010101010101010101283c80a070b023403020360050d21000001a203080a070b023403020360050d21000001a000000fe00344457564a813135365755310a0000000000024131b2001100000a010a202000ad";
DP-2 = "00ffffffffffff0010acd3a14249343229210104a53b21783be755a9544aa1260d5054a54b00714f8180a9c0d1c00101010101010101565e00a0a0a029503020350055502100001a000000ff00443451334844330a2020202020000000fc0044454c4c20533237323244430a000000fd00304b72723c010a202020202020010c020325f14f101f051404131211030216150706012309070783010000681a00000101304b007e3900a080381f4030203a0055502100001a023a801871382d40582c450055502100001ed97600a0a0a034503020350055502100001a00000000000000000000000000000000000000000000000000000000000000000000000092";
eDP-1 =
"00ffffffffffff0030e4b30600000000001f0104a522157806a205a65449a2250e505400000001010101010101010101010101010101283c80a070b023403020360050d21000001a203080a070b023403020360050d21000001a000000fe00344457564a813135365755310a0000000000024131b2001100000a010a202000ad";
DP-2 =
"00ffffffffffff0010acd3a14249343229210104a53b21783be755a9544aa1260d5054a54b00714f8180a9c0d1c00101010101010101565e00a0a0a029503020350055502100001a000000ff00443451334844330a2020202020000000fc0044454c4c20533237323244430a000000fd00304b72723c010a202020202020010c020325f14f101f051404131211030216150706012309070783010000681a00000101304b007e3900a080381f4030203a0055502100001a023a801871382d40582c450055502100001ed97600a0a0a034503020350055502100001a00000000000000000000000000000000000000000000000000000000000000000000000092";
};
config = {
eDP-1 = {
Expand Down Expand Up @@ -112,7 +110,8 @@ in
stylix.enable = true;
stylix.autoEnable = true;

stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
stylix.base16Scheme =
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
stylix.image = pkgs.fetchurl {
url = "https://w.wallhaven.cc/full/0w/wallhaven-0w3pdr.jpg";
sha256 = "sha256-xrLfcRkr6TjTW464GYf9XNFHRe5HlLtjpB0LQAh/l6M=";
Expand Down

0 comments on commit 20a09df

Please sign in to comment.