diff --git a/flake.nix b/flake.nix index c11f335..2d2e66f 100755 --- a/flake.nix +++ b/flake.nix @@ -38,17 +38,7 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, .. system = "x86_64-linux"; pkgs = import nixpkgs-unstable { system = "x86_64-linux"; - config = { allowUnfree = true; }; # TODO: Find why this doesn't work - overlays = - let - discordOverlay = self: super: { - discord = super.discord.override { - withOpenASAR = true; - withVencord = true; - }; - }; - in - [ discordOverlay ]; + config = { allowUnfree = true; }; # TODO: Find why this doesn't work }; modules = [ # Needed for nix-index @@ -56,7 +46,6 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, .. agenix.nixosModules.default home-manager.nixosModule ./roles/common - ./roles/desktop ./roles/kde ./machines/Archie ]; diff --git a/roles/desktop/default.nix b/roles/desktop/default.nix deleted file mode 100755 index 52f5478..0000000 --- a/roles/desktop/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: - -{ - imports = [ - ./discord.nix - ]; -} diff --git a/roles/desktop/discord.nix b/roles/desktop/discord.nix deleted file mode 100644 index bdabdc4..0000000 --- a/roles/desktop/discord.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, ... }: - -{ - # TODO: Find out why this does not do anything. If I put this - # on flake.nix it does work, so it's not completely wrong. - /* nixpkgs.overlays = - let - discordOverlay = self: super: { - discord = super.discord.override { - withOpenASAR = true; - withVencord = true; - }; - }; - in - [ discordOverlay ]; */ - users.users.toast.packages = with pkgs; [ - discord - ]; -}