Skip to content
257 changes: 152 additions & 105 deletions flake.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
...
} @ inputs: let
themes = import ./modules/nixos/themes/defaults.nix;
activeTheme = themes.valua; # Change this to switch themes
activeTheme = themes.dracula; # Change this to switch themes
wallpaperPath = "${inputs.wallpapers}/${activeTheme.wallpaper}";
in {
theme = builtins.path {
Expand Down
23 changes: 12 additions & 11 deletions hosts/centaur/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"--remember-session"
"--sessions ${waylandSessions}:${xSessions}"
"--time"
"--cmd Hyprland"
"--cmd start-hyprland"
"--asterisks"
];
flags = lib.concatStringsSep " " tuigreetOptions;
Expand Down Expand Up @@ -206,6 +206,7 @@
# PROGRAMS
# ============================================================================
programs.zsh.enable = true;
programs.wireshark.enable = true;

# Enable nix-ld for running unpatched dynamic binaries (JetBrains IDEs from Toolbox, etc.)
programs.nix-ld = {
Expand All @@ -219,15 +220,15 @@
libGL
libdrm
mesa
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXext
xorg.libXfixes
xorg.libXtst
xorg.libxcb
libX11
libXcursor
libXi
libXrandr
libXrender
libXext
libXfixes
libXtst
libxcb
freetype
fontconfig
libxkbcommon
Expand All @@ -253,7 +254,7 @@
users.users.fpl = {
isNormalUser = true;
description = "fpl";
extraGroups = ["networkmanager" "wheel" "bluetooth"];
extraGroups = ["networkmanager" "wheel" "bluetooth" "wireshark"];
shell = pkgs.zsh;
packages = with pkgs; [];
};
Expand Down
4 changes: 3 additions & 1 deletion hosts/centaur/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
../../modules/home-manager/zsh.nix
../../modules/home-manager/jetbrains.nix
../../modules/home-manager/thunderbird.nix
../../modules/home-manager/python-packages.nix
../../modules/home-manager/python.nix
../../modules/home-manager/cli-tools.nix
../../modules/home-manager/discord.nix
../../modules/home-manager/neovim.nix
../../modules/home-manager/rust.nix
../../modules/home-manager/haskell.nix
../../modules/hyprland/default.nix
../../modules/home-manager/security-tools.nix
];

# This value determines the Home Manager release that your configuration is
Expand Down
11 changes: 6 additions & 5 deletions modules/home-manager/basics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
blueman

# File manager with improved functionality
xfce.thunar
xfce.thunar-archive-plugin
xfce.thunar-volman
xfce.thunar-media-tags-plugin
thunar
thunar-archive-plugin
thunar-volman
thunar-media-tags-plugin
gvfs

# Thumbnail generation for file managers
xfce.tumbler # Main thumbnail service
tumbler # Main thumbnail service
ffmpegthumbnailer # Video thumbnails

# Icon themes for better appearance
Expand Down Expand Up @@ -49,6 +49,7 @@
# GTK configuration for better theming
gtk = {
enable = true;
gtk4.theme = config.gtk.theme;
iconTheme = {
name = "Papirus";
package = pkgs.papirus-icon-theme;
Expand Down
2 changes: 1 addition & 1 deletion modules/home-manager/cli-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
home.packages = with pkgs; [
git
gh
neofetch
fastfetch
htop
btop
traceroute
Expand Down
2 changes: 1 addition & 1 deletion modules/home-manager/discord.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ in {
biggerStreamPreview.enable = true;
messageLogger.enable = true;
callTimer.enable = true;
clearUrLs.enable = true;
ClearURLs.enable = true;
permissionsViewer.enable = true;
platformIndicators.enable = true;
relationshipNotifier.enable = true;
Expand Down
18 changes: 18 additions & 0 deletions modules/home-manager/haskell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [
haskell-language-server
ghc
cabal-install
stack
ormolu
stylish-haskell
];

programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
haskell.haskell
];
}
1 change: 1 addition & 0 deletions modules/home-manager/jetbrains.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ in {
home.sessionVariables = {
JAVA_HOME = "${pkgs.openjdk}";
PATH = "$PATH:${pkgs.openjdk}/bin:${pkgs.gcc}/bin:${pkgs.jetbrains-toolbox}/bin";
_JAVA_AWT_WM_NONREPARENTING = "1";
};
}
4 changes: 2 additions & 2 deletions modules/home-manager/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# Git integration
gitsigns-nvim
fugitive
vim-fugitive

# UI improvements
lualine-nvim
Expand All @@ -47,7 +47,7 @@
plenary-nvim
];

extraLuaConfig = ''
initLua = ''
-- Basic settings
vim.opt.number = true
vim.opt.relativenumber = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@
plotly
sympy
notebook
# For quickshell color generation
pillow
materialyoucolor

# Linting / formatting / typing
black
isort
flake8
pylint
mypy
]);
in {
home.packages = [
myPythonEnv
];
home.packages = [myPythonEnv];

programs.zsh.shellAliases = {
jn = "${myPythonEnv}/bin/jupyter notebook";
Expand All @@ -31,4 +35,8 @@ in {
home.activation.createNotebooksDir = ''
mkdir -p ${config.home.homeDirectory}/notebooks
'';

programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
ms-python.python
];
}
4 changes: 4 additions & 0 deletions modules/home-manager/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@
home.sessionVariables = {
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};

programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
rust-lang.rust-analyzer
];
}
14 changes: 14 additions & 0 deletions modules/home-manager/security-tools.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [
nmap
netcat-gnu

tcpdump
wireshark
metasploit
];
}
1 change: 0 additions & 1 deletion modules/home-manager/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
programs.vscode = {
enable = true;
profiles.default.extensions = with pkgs.vscode-extensions; [
ms-python.python
#docker.docker
ms-azuretools.vscode-docker
#ms-azuretools.vscode-containers
Expand Down
Loading
Loading