modules/packages: init
This commit is contained in:
parent
ed8bf890ee
commit
ea50dc7261
3 changed files with 45 additions and 0 deletions
13
modules/packages/hardware.nix
Normal file
13
modules/packages/hardware.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
environment.systemPackages = with pkgs; lib.mkMerge [
|
||||
(mkIf cfg.bluetooth.enable [
|
||||
|
||||
])
|
||||
];
|
||||
}
|
19
modules/packages/module.nix
Normal file
19
modules/packages/module.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./wayland.nix
|
||||
./media.nix
|
||||
];
|
||||
# These are some standard packages I want to have installed on every system, regardless of type or use case.
|
||||
environment.systemPackages = with pkgs; [
|
||||
calc # Calculator device
|
||||
coreutils-full # All of the GNU coreutils
|
||||
curl # I sometimes need to curl stuff
|
||||
git # take a guess
|
||||
inetutils # internet stuff I need/want on every system.
|
||||
wget
|
||||
unzip # zipping and unzipping stuff
|
||||
zip
|
||||
util-linux
|
||||
];
|
||||
}
|
13
modules/packages/wayland.nix
Normal file
13
modules/packages/wayland.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
config,
|
||||
lig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
# These are packages I only need in wayland environments, nowhere else.
|
||||
environment.systemPackages = with pkgs; [
|
||||
wl-clipboard
|
||||
grimblast
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue