diff --git a/flake.lock b/flake.lock index 9824ea1..b6fb15b 100755 --- a/flake.lock +++ b/flake.lock @@ -182,26 +182,6 @@ "type": "github" } }, - "hosts": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1699912377, - "narHash": "sha256-IOGZaaOr1H4YKDVHFe8ibPqGinNk7CRr+sw0b4jUF+8=", - "owner": "StevenBlack", - "repo": "hosts", - "rev": "3512f10a51a79383166c4411e3587fc98642ea51", - "type": "github" - }, - "original": { - "owner": "StevenBlack", - "repo": "hosts", - "type": "github" - } - }, "hyprland": { "inputs": { "hyprland-protocols": [ @@ -520,7 +500,6 @@ "gitignore": "gitignore", "hercules-ci-effects": "hercules-ci-effects", "home-manager": "home-manager", - "hosts": "hosts", "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", "hyprland-protocols": "hyprland-protocols", diff --git a/flake.nix b/flake.nix index 9ad511a..e5fd8d1 100755 --- a/flake.nix +++ b/flake.nix @@ -21,10 +21,6 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - hosts = { - url = "github:StevenBlack/hosts"; - inputs.nixpkgs.follows = "nixpkgs"; - }; hyprland = { url = "github:hyprwm/Hyprland"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/nixos/flake-modules/hosts.nix b/nixos/flake-modules/hosts.nix deleted file mode 100644 index 3b59cbb..0000000 --- a/nixos/flake-modules/hosts.nix +++ /dev/null @@ -1,11 +0,0 @@ -{inputs, ...}: { - imports = [inputs.hosts.nixosModule]; - - networking.stevenBlackHosts = { - enable = true; - blockFakenews = true; - blockGambling = true; - blockPorn = true; - blockSocial = true; - }; -} diff --git a/nixos/profiles/desktop/default.nix b/nixos/profiles/desktop/default.nix index 4a3fd8f..081d94c 100644 --- a/nixos/profiles/desktop/default.nix +++ b/nixos/profiles/desktop/default.nix @@ -8,4 +8,5 @@ boot.kernelPackages = pkgs.linuxPackages_zen; boot.plymouth.enable = true; + networking.stevenblack.enable = true; } diff --git a/users/guanranwang/nixos/profiles/core/default.nix b/users/guanranwang/nixos/profiles/core/default.nix index fd95b15..c537127 100644 --- a/users/guanranwang/nixos/profiles/core/default.nix +++ b/users/guanranwang/nixos/profiles/core/default.nix @@ -30,7 +30,6 @@ ### Flakes imports = [ ../../../../../nixos/flake-modules/sops-nix.nix - ../../../../../nixos/flake-modules/hosts.nix ]; ### sops-nix