Sat Jun 8 05:31:27 PM CEST 2024
This commit is contained in:
parent
414b6815df
commit
441b8fd168
|
@ -48,11 +48,12 @@
|
||||||
time.timeZone = "Europe/Brussels";
|
time.timeZone = "Europe/Brussels";
|
||||||
|
|
||||||
nix.settings = {
|
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 = [
|
trusted-public-keys = [
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||||
|
"nixos-rocm.cachix.org-1:VEpsf7pRIijjd8csKjFNBGzkBqOmw8H9PRmgAq14LnE="
|
||||||
];
|
];
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
trusted-users = [ "root" "user" ];
|
trusted-users = [ "root" "user" ];
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
./ssh
|
./ssh
|
||||||
./mpv
|
./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";
|
programs.ssh.matchBlocks."*".identityFile = "/home/server/.secrets/SSH/Kell/id_ed25519";
|
||||||
|
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
|
@ -25,9 +25,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk.iconTheme = {
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
package = pkgs.gnome.gnome-themes-extra;
|
||||||
|
name = "Adwaita-dark";
|
||||||
|
};
|
||||||
|
iconTheme = {
|
||||||
name = "Papirus";
|
name = "Papirus";
|
||||||
gtk.iconTheme.package = pkgs.papirus-icon-theme;
|
package = pkgs.papirus-icon-theme;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.waybar.settings.mainBar = {
|
programs.waybar.settings.mainBar = {
|
||||||
output = "DP-2";
|
output = "DP-2";
|
||||||
|
|
|
@ -218,7 +218,7 @@ in {
|
||||||
"$mainMod,XF86AudioMute, exec, ${playerctl} play-pause"
|
"$mainMod,XF86AudioMute, exec, ${playerctl} play-pause"
|
||||||
"$mainMod,XF86AudioRaiseVolume, exec, ${playerctl} next"
|
"$mainMod,XF86AudioRaiseVolume, exec, ${playerctl} next"
|
||||||
"$mainMod,XF86AudioLowerVolume, exec, ${playerctl} previous"
|
"$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, H, exec, ${./files/vim-hypr-nav.sh} l"
|
||||||
"$mainMod, L, exec, ${./files/vim-hypr-nav.sh} r"
|
"$mainMod, L, exec, ${./files/vim-hypr-nav.sh} r"
|
||||||
|
|
|
@ -42,6 +42,7 @@ in
|
||||||
];
|
];
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
services.fstrim.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
|
|
||||||
|
@ -89,7 +90,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
|
||||||
# Enable common container config files in /etc/containers
|
# Enable common container config files in /etc/containers
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
|
|
@ -11,17 +11,40 @@
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
services.logind.extraConfig = ''HandlePowerKey=suspend'';
|
services.logind.extraConfig = ''HandlePowerKey=suspend'';
|
||||||
|
services.fstrim.enable = true;
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
# Calendar
|
# Calendar
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
services.gnome.evolution-data-server.enable = true;
|
services.gnome.evolution-data-server.enable = true;
|
||||||
services.gnome.gnome-online-accounts.enable = true;
|
services.gnome.gnome-online-accounts.enable = true;
|
||||||
services.gnome.gnome-keyring.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:
|
# Add the server using gnome-online-accounts:
|
||||||
# nix-shell -p gnome.gnome-control-center --run "gnome-control-center"
|
# 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.
|
# 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 = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.0.0.10/24" " 2a02:a03f:83ad:2101::2/128" ];
|
address = [ "10.0.0.10/24" " 2a02:a03f:83ad:2101::2/128" ];
|
||||||
|
|
Loading…
Reference in New Issue