FINALLY WOKING BABEEE

This commit is contained in:
vali 2024-04-10 20:46:23 +02:00
commit 773ccf2ce3
3 changed files with 18 additions and 17 deletions

View file

@ -17,22 +17,22 @@
}; };
}; };
programs = { programs = {
# vesktop.enable = true; vesktop.enable = true;
btop.enable = true; btop.enable = true;
mpv.enable = true; mpv.enable = true;
i3.enable = true;
#neovim.enable = true; #neovim.enable = true;
git = { #git = {
enable = true; # enable = true;
userName = "vali"; # userName = "vali";
userEmail = "valentin@kaas.cc"; # userEmail = "valentin@kaas.cc";
defaultBranch = "master"; # defaultBranch = "master";
}; #};
starship.enable = true; starship.enable = true;
zsh = { zsh = {
enable = true; enable = true;
profiling = false; profiling = false;
}; };
#i3 = { };
}; };
services = { services = {
pipewire.enable = true; pipewire.enable = true;

View file

@ -1,10 +1,10 @@
{ pkgs, lib, config, ...}: { pkgs, lib, config, callPackage, ... }:
with lib; let
cfg = config.myOptions.programs.i3;
in {
options.myOptions.programs.i3.enable = mkEnableOption "i3";
{ config = mkIf cfg.enable {
options = {
i3wm.enable = lib.mkEnableOption "enable i3wm";
};
config = lib.mkIf config.i3wm.enable {
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager = { desktopManager = {

View file

@ -20,6 +20,7 @@ in {
libreoffice-fresh libreoffice-fresh
qbittorrent qbittorrent
ventoy-full ventoy-full
lazygit
zip zip
unzip unzip
gcc gcc