use user packages

This commit is contained in:
Mohamed Chrayed 2024-07-31 18:45:29 +02:00
parent 377e99c2d5
commit 7e6dd92831
3 changed files with 20 additions and 16 deletions

View File

@ -1,6 +1,9 @@
{ config, pkgs, pkgs-unstable, ... }: { config, pkgs, pkgs-unstable, ... }:
{ {
imports = [
./user/userpkgs.nix
]
home.username = "mo"; home.username = "mo";
home.homeDirectory = "/home/mo"; home.homeDirectory = "/home/mo";
home.stateVersion = "24.05"; home.stateVersion = "24.05";

View File

@ -13,20 +13,4 @@
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
wget
git
vesktop
bitwarden-desktop
kdePackages.kate
kdePackages.gwenview
kdePackages.okular
kdePackages.kontact
haruna
pciutils
aha
neofetch
mangohud
ibm-plex
];
} }

17
user/userpkgs.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, pkgs, pkgs-unstable,... }:
environment.systemPackages = with pkgs; [
wget
git
vesktop
bitwarden-desktop
kdePackages.kate
kdePackages.gwenview
kdePackages.okular
kdePackages.kontact
haruna
pciutils
aha
neofetch
mangohud
ibm-plex
];