Remove unnecessary template files

This commit is contained in:
GHOSCHT 2023-10-14 13:17:14 +02:00
parent 5f4674ffa8
commit 231141e14c
3 changed files with 0 additions and 97 deletions

View file

@ -59,12 +59,5 @@
inherit inputs nixpkgs nixpkgs-unstable home-manager nur hyprland vars; # Inherit inputs
}
);
homeConfigurations = ( # Nix Configurations
import ./nix {
inherit (nixpkgs) lib;
inherit inputs nixpkgs nixpkgs-unstable home-manager vars;
}
);
};
}

View file

@ -1,37 +0,0 @@
#
# These are the diffent profiles that can be used when using Nix on other distros.
# Home-Manager is used to list and customize packages.
#
# flake.nix
# └─ ./nix
# ├─ default.nix *
# └─ <host>.nix
#
{
lib,
inputs,
nixpkgs,
home-manager,
vars,
...
}: let
system = "x86_64-linux"; # System Architecture
pkgs = nixpkgs.legacyPackages.${system};
in {
pacman = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs vars;};
modules = [
# Modules Used
./pacman.nix
{
home = {
username = "${vars.user}";
homeDirectory = "/home/${vars.user}";
packages = [pkgs.home-manager];
stateVersion = "22.05";
};
}
];
};
}

View file

@ -1,53 +0,0 @@
#
# Nix Setup using Home-manager
#
# flake.nix
# └─ ./nix
# ├─ default.nix
# └─ pacman.nix *
#
{
config,
inputs,
pkgs,
nixgl,
vars,
...
}: {
home = {
packages = [
pkgs.hello
];
activation = {
# Rebuild Script
linkDesktopApplications = {
# Add Packages To System Menu
after = ["writeBoundary" "createXdgUserDirectories"];
before = [];
data = "sudo /usr/bin/update-desktop-database"; # Updates Database
};
};
};
xdg = {
# Add Nix Packages to XDG_DATA_DIRS
enable = true;
systemDirs.data = ["/home/${vars.user}/.nix-profile/share"];
};
nix = {
# Nix Package Manager Settings
settings = {
auto-optimise-store = true;
};
package = pkgs.nixFlakes; # Enable Flakes
registry.nixpkgs.flake = inputs.nixpkgs;
extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
};
nixpkgs.config.allowUnfree = true; # Allow Proprietary Software.
}