Sat Jun 8 05:31:27 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-08 17:31:27 +02:00
parent 414b6815df
commit 441b8fd168
5 changed files with 40 additions and 8 deletions

View File

@ -48,11 +48,12 @@
time.timeZone = "Europe/Brussels";
nix.settings = {
substituters = [ "https://hyprland.cachix.org" "https://nix-community.cachix.org" "https://cuda-maintainers.cachix.org"];
substituters = [ "https://hyprland.cachix.org" "https://nix-community.cachix.org" "https://cuda-maintainers.cachix.org" "https://nixos-rocm.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE="
];
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "user" ];

View File

@ -12,7 +12,7 @@
./ssh
./mpv
];
home.packages = with pkgs; [ telegram-desktop webcord devenv ];
home.packages = with pkgs; [ telegram-desktop webcord devenv loupe ];
programs.ssh.matchBlocks."*".identityFile = "/home/server/.secrets/SSH/Kell/id_ed25519";
services.hyprpaper = {
@ -25,9 +25,16 @@
};
};
gtk.iconTheme = {
gtk = {
enable = true;
theme = {
package = pkgs.gnome.gnome-themes-extra;
name = "Adwaita-dark";
};
iconTheme = {
name = "Papirus";
gtk.iconTheme.package = pkgs.papirus-icon-theme;
package = pkgs.papirus-icon-theme;
};
};
programs.waybar.settings.mainBar = {
output = "DP-2";

View File

@ -218,7 +218,7 @@ in {
"$mainMod,XF86AudioMute, exec, ${playerctl} play-pause"
"$mainMod,XF86AudioRaiseVolume, exec, ${playerctl} next"
"$mainMod,XF86AudioLowerVolume, exec, ${playerctl} previous"
'', Print, exec, grim -g "$(slurp -d)" - | wl-copy''
'', Print, exec, ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp -d)" - | wl-copy''
"$mainMod, H, exec, ${./files/vim-hypr-nav.sh} l"
"$mainMod, L, exec, ${./files/vim-hypr-nav.sh} r"

View File

@ -42,6 +42,7 @@ in
];
services.thermald.enable = true;
services.fwupd.enable = true;
services.fstrim.enable = true;
environment.systemPackages = with pkgs; [
wireguard-tools
@ -89,7 +90,7 @@ in
};
};
services.udev.packages = [ pkgs.yubikey-personalization ];
services.logind.extraConfig = ''HandlePowerKey=ignore'';
# Enable common container config files in /etc/containers
virtualisation.containers.enable = true;
virtualisation = {

View File

@ -11,17 +11,40 @@
services.pcscd.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization ];
services.logind.extraConfig = ''HandlePowerKey=suspend'';
services.fstrim.enable = true;
services.fwupd.enable = true;
# Calendar
programs.dconf.enable = true;
services.gnome.evolution-data-server.enable = true;
services.gnome.gnome-online-accounts.enable = true;
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [ wireguard-tools ];
environment.systemPackages = with pkgs; [
wireguard-tools
# Podman
dive
podman-tui
docker-compose
];
# Add the server using gnome-online-accounts:
# nix-shell -p gnome.gnome-control-center --run "gnome-control-center"
# Just add the main webdav server and gnome-calendar will automatically pick up all available calendars.
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
services.ollama = {
enable = true;
# acceleration = "";
};
networking.wg-quick.interfaces = {
wg0 = {
address = [ "10.0.0.10/24" " 2a02:a03f:83ad:2101::2/128" ];