refactor sys-modules

This commit is contained in:
2024-10-19 14:52:29 +02:00
parent b95ebd8efc
commit dfa623f370
9 changed files with 62 additions and 61 deletions

View File

@@ -1,10 +0,0 @@
{
config,
pkgs,
...
}: {
users.users."jonas".packages = with pkgs; [
discord
zoom
];
}

View File

@@ -1,5 +1,4 @@
{
config,
pkgs,
...
}: {

View File

@@ -2,6 +2,7 @@
...
}: {
imports = [
./tools.nix
./zsh.nix
];
}

View File

@@ -0,0 +1,28 @@
{
pkgs
}: {
home.packages = with pkgs; [
bat
firefox
fzf
git
htop
killall
neofetch
nil
nix-search-cli
nixpkgs-fmt
pass
poetry
python311Packages.radian
ranger
thefuck
vim
w3m
wget
youtube-dl
];
nixpkgs.config.permittedInsecurePackages = [
"python3.11-youtube-dl-2021.12.17"
];
}

View File

@@ -1,11 +0,0 @@
{
config,
pkgs,
...
}: {
programs.steam.enable = true;
users.users."jonas".packages = with pkgs; [
lutris
spotify
];
}

29
modules/programs.nix Normal file
View File

@@ -0,0 +1,29 @@
{
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
age
alejandra
borgbackup
borgmatic
discord
docker
docker-compose
git
lutris
nix-index
nix-output-monitor
openhantek6022
ranger
sops
spotify
unstable.nh
vim
wget
zoom
];
programs.steam.enable = true;
services.udev.packages = [pkgs.openhantek6022];
virtualisation.docker.enable = true;
}

View File

@@ -1,3 +0,0 @@
{config, ...}: {
virtualisation.docker.enable = true;
}

View File

@@ -1,10 +0,0 @@
{
config,
pkgs,
...
}: {
environment.systemPackages = [
pkgs.openhantek6022
];
services.udev.packages = [pkgs.openhantek6022];
}