refactor: Apps & Development

This commit is contained in:
2025-02-07 22:01:18 +01:00
parent c407e1e9ee
commit c3f4470f80
5 changed files with 18 additions and 48 deletions
-11
View File
@@ -5,7 +5,6 @@
./disks.nix ./disks.nix
./hardware-configuration.nix ./hardware-configuration.nix
./environments.nix ./environments.nix
# ./system.nix use docker here
]; ];
networking.hostName = "jupiter"; networking.hostName = "jupiter";
@@ -24,16 +23,6 @@
]; ];
}; };
# Enable the X11 windowing system.
# services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
# services.xserver.displayManager.gdm.enable = true;
# services.xserver.desktopManager.gnome.enable = true;
# services.xserver.enable = true;
# services.xserver.displayManager.sddm.enable = true;
services.openssh.enable = true; services.openssh.enable = true;
# Configure keymap in X11 # Configure keymap in X11
+2 -15
View File
@@ -17,29 +17,16 @@ let
firefox firefox
thunderbird thunderbird
google-chrome google-chrome
xfce.thunar
vscode vscode
discord discord
spotify spotify
keepassxc keepassxc
moonlight-qt moonlight-qt
nextcloud-client nextcloud-client
neovim
pipewire pipewire
wireplumber
vlc vlc
wireplumber
ghostty ghostty
numix-icon-theme ];
] ++ lib.optionals cfg.dev_apps [
jetbrains.webstorm
jetbrains.goland
jetbrains.pycharm-professional
jetbrains.idea-ultimate
go
] ++ lib.optionals cfg.gnome_apps [
gnomeExtensions.tweaks-in-system-menu
gnomeExtensions.wireless-hid
gnome.gnome-tweaks
];
}; };
} }
@@ -1,20 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.dev_server;
in {
options.my.profiles.dev_server = with lib; {
enable = mkEnableOption "Development Server environment";
};
config = lib.mkIf cfg.enable {
programs.dev_server = {
enable = true;
nvidiaPatches = true;
xwayland.enable = true;
};
users.users.finn.packages = with pkgs; [
# Software
];
};
}
@@ -12,6 +12,21 @@ in {
vscode vscode
neovim neovim
jetbrains.idea-ultimate jetbrains.idea-ultimate
go
(python3.withPackages (
ps: with ps; [
jupyter # notebooks
matplotlib
numpy
pandas
pillow
plotly
scikitlearn
scipy
tqdm # progressbar in pandas
wheel # python development
]
))
]; ];
}; };
} }
+1 -2
View File
@@ -2,8 +2,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
cfg = config.my.profiles.kde-desktop; cfg = config.my.profiles.kde-desktop;
# domain = config.networking.domain;
# port = 9696;
in in
{ {
options.my.profiles.kde-desktop = with lib; { options.my.profiles.kde-desktop = with lib; {
@@ -18,6 +16,7 @@ in
}; };
users.users.finn.packages = with pkgs; [ users.users.finn.packages = with pkgs; [
# Programms can be added here... # Programms can be added here...
numix-icon-theme
]; ];
}; };
} }