refactor programs

This commit is contained in:
Daniel Langbein 2023-08-31 14:24:24 +02:00
parent dc6432eb4f
commit c4ddbd56e1
2 changed files with 54 additions and 46 deletions

View File

@ -12,6 +12,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./home-manager.nix ./home-manager.nix
./programs.nix
./print-and-scan.nix ./print-and-scan.nix
./nitrokey-ssh-gpg.nix ./nitrokey-ssh-gpg.nix
./ssh-unlock.nix ./ssh-unlock.nix
@ -111,39 +112,6 @@
packages = with pkgs; [ packages = with pkgs; [
# Nix dependency management # Nix dependency management
niv niv
# CLI apps
git
gnumake # make
wget
htop
# CCC Weather Workshop
#
# TODO: rdwd from Git, the packaged version is too old
#
# TODO: move to nix shell of weather Git repository
# (think of it as a docker container for the weather project: I don't need this elsewhere)
# https://github.com/nix-community/nix-direnv
#
unzip
(rWrapper.override{ packages = with rPackages; [ lubridate rdwd zoo ]; })
# Graphical Apps
firefox
tor-browser-bundle-bin
thunderbird # email
keepassxc # Password manager
freetube # YouTube client
veracrypt # Encrypted filesystem
joplin-desktop # Markdown notes
rnote # Handwritten notes
xournalpp # Handwritte notes
anki-bin # Flashcards
signal-desktop # Signal client
element-desktop # Matrix client
jetbrains.idea-ultimate # IDE
libsForQt5.ghostwriter # Markdown editor
]; ];
}; };
@ -152,19 +120,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
# Don't install all programs of the GNOME desktop.
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
]) ++ (with pkgs.gnome; [
cheese # Webcam viewer
gnome-music # Music player
epiphany # Web browser
geary # Email
gnome-characters
#gnome-contacts
]);
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;

53
yodaTab/programs.nix Normal file
View File

@ -0,0 +1,53 @@
{ config, pkgs, ... }:
{
# Don't install all programs of the GNOME desktop.
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
]) ++ (with pkgs.gnome; [
cheese # Webcam viewer
gnome-music # Music player
epiphany # Web browser
geary # Email
gnome-characters
#gnome-contacts
]);
users.users.yoda = {
packages = with pkgs; [
# CLI apps
git
gnumake # make
wget
htop
# CCC Weather Workshop
#
# TODO: rdwd from Git, the packaged version is too old
#
# TODO: move to nix shell of weather Git repository
# (think of it as a docker container for the weather project: I don't need this elsewhere)
# https://github.com/nix-community/nix-direnv
#
unzip
(rWrapper.override{ packages = with rPackages; [ lubridate rdwd zoo ]; })
# Graphical Apps
firefox
tor-browser-bundle-bin
thunderbird # email
keepassxc # Password manager
freetube # YouTube client
veracrypt # Encrypted filesystem
joplin-desktop # Markdown notes
rnote # Handwritten notes
xournalpp # Handwritte notes
anki-bin # Flashcards
signal-desktop # Signal client
element-desktop # Matrix client
jetbrains.idea-ultimate # IDE
libsForQt5.ghostwriter # Markdown editor
];
};
}