From 1e5adeb54f6e96f59b955b00449bd5ba4d08c129 Mon Sep 17 00:00:00 2001 From: muon Date: Fri, 3 Jan 2025 13:40:44 +0000 Subject: [PATCH 1/4] Add dolphin --- hosts/muop/hardware-configuration.nix | 1 + modules/home/desktop/productivity.nix | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/muop/hardware-configuration.nix b/hosts/muop/hardware-configuration.nix index 14b7f9d..25b813e 100644 --- a/hosts/muop/hardware-configuration.nix +++ b/hosts/muop/hardware-configuration.nix @@ -11,6 +11,7 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "ntfs" "btrfs" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/29b32abb-ea5d-4cca-b506-3485d8df430c"; diff --git a/modules/home/desktop/productivity.nix b/modules/home/desktop/productivity.nix index d7ec59f..ade6f7f 100644 --- a/modules/home/desktop/productivity.nix +++ b/modules/home/desktop/productivity.nix @@ -21,13 +21,17 @@ bitwarden-desktop # file management - krusader + breeze-icons + libsForQt5.qt5ct + dolphin # documents # texliveFull # texstudio ]; + qt.platformTheme = "qt5ct"; + home.sessionVariables.BROWSER = "librewolf"; programs.zsh.sessionVariables.BROWSER = "librewolf"; From 8cd67b9c46b5701321711797ee1b52afe07a2e71 Mon Sep 17 00:00:00 2001 From: muon Date: Thu, 9 Jan 2025 21:50:25 +0000 Subject: [PATCH 2/4] Add hosts --- flake.nix | 22 +++++++++++----------- hosts/mups/configuration.nix | 22 +++++++++++++++++----- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 9c0a88f..7aa9a8f 100644 --- a/flake.nix +++ b/flake.nix @@ -85,18 +85,18 @@ ]; }; - "muho" = { name, nodes, ... }: { - deployment.targetHost = "muho"; # SSH IP - deployment.targetUser = "muon"; # SSH username + # "muho" = { name, nodes, ... }: { + # deployment.targetHost = "muho"; # SSH IP + # deployment.targetUser = "muon"; # SSH username - # modules - imports = [ - ./hosts/muho/configuration.nix - ./modules/nixos - inputs.home-manager.nixosModules.default - inputs.stylix.nixosModules.stylix - ]; - }; + # # modules + # imports = [ + # ./hosts/muho/configuration.nix + # ./modules/nixos + # inputs.home-manager.nixosModules.default + # inputs.stylix.nixosModules.stylix + # ]; + # }; }; }; } diff --git a/hosts/mups/configuration.nix b/hosts/mups/configuration.nix index 4011e83..7ae30c3 100644 --- a/hosts/mups/configuration.nix +++ b/hosts/mups/configuration.nix @@ -48,11 +48,23 @@ in { root = "/var/www"; configuration = { general = { directory-listing = true; }; }; }; - services.nginx.virtualHosts."muon.host" = { - enableACME = true; - forceSSL = true; - default = true; - locations."/" = { proxyPass = "http://localhost:8008"; }; + services.nginx.virtualHosts = { + "muon.host" = { + enableACME = true; + forceSSL = true; + default = true; + locations."/" = { proxyPass = "http://localhost:8008"; }; + }; + "tetterodesportcomplex.nl" = { + enableACME = true; + forceSSL = true; + locations."/" = { proxyPass = "http://10.0.0.3:5001"; }; + }; + "www.tetterodesportcomplex.nl" = { + enableACME = true; + forceSSL = true; + locations."/" = { proxyPass = "http://10.0.0.3:5001"; }; + }; }; # Enable the OpenSSH daemon. From bfcb73c937363500c2203339b916dec3253adee4 Mon Sep 17 00:00:00 2001 From: muon Date: Sun, 12 Jan 2025 17:36:00 +0000 Subject: [PATCH 3/4] Add vifm --- modules/home/terminal/tools.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home/terminal/tools.nix b/modules/home/terminal/tools.nix index c58a051..2f21239 100644 --- a/modules/home/terminal/tools.nix +++ b/modules/home/terminal/tools.nix @@ -29,6 +29,7 @@ in with lib; { "ripgrep" "bottom" "htop" + "vifm" ]); home.packages = with pkgs; [ @@ -40,6 +41,7 @@ in with lib; { trash-cli dua fdupes + vifm # programs fend From f6c298b008378c276fed55329855d70f4ef5c922 Mon Sep 17 00:00:00 2001 From: muon Date: Sun, 12 Jan 2025 17:36:15 +0000 Subject: [PATCH 4/4] Turn off screen saver muop --- hosts/muop/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/muop/configuration.nix b/hosts/muop/configuration.nix index 4337098..8a21dd5 100644 --- a/hosts/muop/configuration.nix +++ b/hosts/muop/configuration.nix @@ -43,7 +43,6 @@ in { mods.unfree.minecraft.enable = false; # Hardware preferences - boot = { tmp.cleanOnBoot = true; bootspec.enable = true; @@ -61,6 +60,11 @@ in { }; }; + # Turn off screen-saver + environment.extraInit = '' + xset s off -dpms + ''; + environment.variables = { WINIT_HIDPI_FACTOR = "1"; WINIT_X11_SCALE_FACTOR = "1";