mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
move more apps and separate unfree
This commit is contained in:
9
modules/applications/1password.nix
Normal file
9
modules/applications/1password.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ pkgs, lib, gui, user, ... }: {
|
||||
|
||||
config = lib.mkIf gui {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home-manager.users.${user} = {
|
||||
home.packages = with pkgs; [ _1password-gui ];
|
||||
};
|
||||
};
|
||||
}
|
9
modules/applications/discord.nix
Normal file
9
modules/applications/discord.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ pkgs, lib, user, gui, ... }: {
|
||||
|
||||
config = lib.mkIf gui {
|
||||
home-manager.users.${user} = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home.packages = with pkgs; [ discord ];
|
||||
};
|
||||
};
|
||||
}
|
11
modules/applications/media.nix
Normal file
11
modules/applications/media.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, lib, gui, user, ... }: {
|
||||
|
||||
config = lib.mkIf gui {
|
||||
home-manager.users.${user}.home.packages = with pkgs; [
|
||||
mpv # Video viewer
|
||||
sxiv # Image viewer
|
||||
zathura # PDF viewer
|
||||
];
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user