diff --git a/flake.lock b/flake.lock index 97dd770..ce1e248 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1719827439, - "narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=", + "lastModified": 1716908526, + "narHash": "sha256-Zl6e/sEVDh07K47XxDGPsXTYT4nI6llUDbQ4xMIwp7k=", "owner": "nix-community", "repo": "home-manager", - "rev": "59ce796b2563e19821361abbe2067c3bb4143a7d", + "rev": "373ead20606efa9181cd15ba19a5deac7ead1492", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1719895800, - "narHash": "sha256-xNbjISJTFailxass4LmdWeV4jNhAlmJPwj46a/GxE6M=", + "lastModified": 1716881121, + "narHash": "sha256-oTf3enbe/lbiNzsyZ8ria+422hx4e/FB3xQcY2LPnJw=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "6e253f12b1009053eff5344be5e835f604bb64cd", + "rev": "806e9d4a933dd1e75592e88894d4bd2f296f5bbf", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1719848872, - "narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=", + "lastModified": 1716509168, + "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8", + "rev": "bfb7a882678e518398ce9a31a881538679f6f092", "type": "github" }, "original": { diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index c9c4cd4..6c63ee1 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -61,14 +61,11 @@ # services.xserver.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - programs.nix-ld.enable = true; - programs.nix-ld.libraries = with pkgs; [ - ]; - programs.zsh.enable = true; + programs.zsh.enable = true; users.users.k = { isNormalUser = true; description = "k"; - extraGroups = [ "networkmanager" "wheel" "libvirtd" ]; + extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [zsh]; shell = pkgs.zsh; }; diff --git a/hosts/server/service.nix b/hosts/server/service.nix index 59169f1..e1b39d9 100644 --- a/hosts/server/service.nix +++ b/hosts/server/service.nix @@ -40,14 +40,10 @@ services.home-assistant = { enable = true; - extraComponents = ["wiz" "fail2ban" "whisper" "piper" "wyoming"]; + extraComponents = ["wiz" "fail2ban"]; config = { - default_config={}; - http = { - use_x_forwarded_for="true"; - trusted_proxies=["127.0.0.1"]; - server_port=8003; - }; + http.server_port=8003; + default_config = {}; }; }; @@ -173,20 +169,4 @@ acceptTerms = true; defaults.email = "markers711@gmail.com"; }; - virtualisation.libvirtd = { - enable = true; - qemu = { - package = pkgs.qemu_kvm; - runAsRoot = true; - swtpm.enable = true; - ovmf = { - enable = true; - packages = [(pkgs.OVMF.override { - secureBoot = true; - tpmSupport = true; - }).fd]; - }; - }; -}; - }