refactor sys-modules
This commit is contained in:
parent
b95ebd8efc
commit
dfa623f370
@ -12,17 +12,14 @@
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
../../modules/bin/nix-scripts.nix
|
||||
../../modules/desktop/de
|
||||
../../modules/desktop/dm
|
||||
../../modules/desktop/fonts
|
||||
../../modules/hardware/bluetooth.nix
|
||||
../../modules/hardware/printing.nix
|
||||
../../modules/hardware/sound.nix
|
||||
../../modules/hardware/yubikey.nix
|
||||
../../modules/services/docker.nix
|
||||
../../modules/services/openhantek.nix
|
||||
../../modules/desktop/dm
|
||||
../../modules/desktop/de
|
||||
../../modules/desktop/fonts
|
||||
../../modules/chat
|
||||
../../modules/multimedia
|
||||
../../modules/programs.nix
|
||||
];
|
||||
desktop.dm.name = "sddm";
|
||||
desktop.de.plasma.enable = true;
|
||||
@ -46,25 +43,6 @@
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
age
|
||||
alejandra
|
||||
borgbackup
|
||||
borgmatic
|
||||
docker
|
||||
docker-compose
|
||||
git
|
||||
nix-index
|
||||
nix-output-monitor
|
||||
ranger
|
||||
sops
|
||||
unstable.nh
|
||||
vim
|
||||
wget
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
users.users."jonas".packages = with pkgs; [
|
||||
discord
|
||||
zoom
|
||||
];
|
||||
}
|
||||
@ -1,5 +1,4 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./tools.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
||||
28
modules/home/zsh/tools.nix
Normal file
28
modules/home/zsh/tools.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.steam.enable = true;
|
||||
users.users."jonas".packages = with pkgs; [
|
||||
lutris
|
||||
spotify
|
||||
];
|
||||
}
|
||||
29
modules/programs.nix
Normal file
29
modules/programs.nix
Normal 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;
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
{config, ...}: {
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = [
|
||||
pkgs.openhantek6022
|
||||
];
|
||||
services.udev.packages = [pkgs.openhantek6022];
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user