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
./firefox.nix
./games.nix
./git.nix
./helix.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 = {
enable = true;
defaultEditor = true;

View File

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

View File

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

View File

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

View File

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