prism launcher + pkgs-unfree

This commit is contained in:
minish 2025-01-21 02:44:38 -05:00
parent 058a78b196
commit 35d5d78540
Signed by: min
SSH Key Fingerprint: SHA256:PDf6DSaU0lWsQ57NzQGdm8HUKftULYFYzxPJolepY58
7 changed files with 27 additions and 7 deletions

View File

@ -3,6 +3,7 @@
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
./firefox.nix ./firefox.nix
./games.nix
./git.nix ./git.nix
./helix.nix ./helix.nix
./hyprland.nix ./hyprland.nix

5
homes/min/games.nix Normal file
View File

@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
prismlauncher
];
}

View File

@ -1,4 +1,6 @@
_: { {pkgs, ...}: {
home.packages = [pkgs.wl-clipboard];
programs.helix = { programs.helix = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;

View File

@ -1,4 +1,4 @@
_: { {pkgs-unfree, ...}: {
programs = let programs = let
enableZsh = { enableZsh = {
enable = true; enable = true;
@ -44,4 +44,8 @@ _: {
settings.color_theme = "ayu"; settings.color_theme = "ayu";
}; };
}; };
home.packages = with pkgs-unfree; [
unrar
];
} }

View File

@ -2,6 +2,7 @@
inputs, inputs,
config, config,
pkgs, pkgs,
pkgs-unfree,
... ...
}: { }: {
imports = [ imports = [
@ -21,6 +22,7 @@
}; };
# Allow unfree packages (firmware) # Allow unfree packages (firmware)
# Not sure if this is necessary on flakes..
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Set your time zone. # Set your time zone.
@ -90,7 +92,7 @@
# Home-manager # Home-manager
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs pkgs-unfree;};
users.${config.users.users.min.name} = import ../../homes/min; users.${config.users.users.min.name} = import ../../homes/min;
}; };

View File

@ -1,4 +1,4 @@
{inputs, ...}: { {inputs, ...}: rec {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
inputs.nixos-hardware.nixosModules.framework-13-7040-amd inputs.nixos-hardware.nixosModules.framework-13-7040-amd
@ -8,9 +8,12 @@
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
{
_module.args.pkgs-unfree = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
}
./configuration.nix ./configuration.nix
]; ];
homes = [
"min"
];
} }

View File

@ -31,6 +31,9 @@
".local/share/nix" # trusted settings ".local/share/nix" # trusted settings
".local/state/wireplumber" # volumes, etc ".local/state/wireplumber" # volumes, etc
# games
".local/share/PrismLauncher"
# apps # apps
".config/vesktop" ".config/vesktop"
".librewolf" ".librewolf"