Added networking
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
let
|
||||
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
||||
in
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
font_size = 12.0;
|
||||
cursor = "Beam";
|
||||
cursor_blink_interval = -1;
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
};
|
||||
|
||||
# Catppuccin Mocha theme for Kitty (embedded)
|
||||
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
|
||||
"# Catppuccin Mocha theme"
|
||||
"background #1e1e2e"
|
||||
"foreground #cdd6f4"
|
||||
"selection_background #f5e0dc"
|
||||
"selection_foreground #1e1e2e"
|
||||
"url_color #f5e0dc"
|
||||
"cursor #f5e0dc"
|
||||
"cursor_text_color #1e1e2e"
|
||||
|
||||
"color0 #45475a"
|
||||
"color8 #585b70"
|
||||
|
||||
"color1 #f38ba8"
|
||||
"color9 #f38ba8"
|
||||
|
||||
"color2 #a6e3a1"
|
||||
"color10 #a6e3a1"
|
||||
|
||||
"color3 #f9e2af"
|
||||
"color11 #f9e2af"
|
||||
|
||||
"color4 #89b4fa"
|
||||
"color12 #89b4fa"
|
||||
|
||||
"color5 #f5c2e7"
|
||||
"color13 #f5c2e7"
|
||||
|
||||
"color6 #94e2d5"
|
||||
"color14 #94e2d5"
|
||||
|
||||
"color7 #bac2de"
|
||||
"color15 #bac2de"
|
||||
|
||||
"# Window settings"
|
||||
"background_opacity 0.9"
|
||||
"font_size 12.0"
|
||||
"cursor_shape Beam"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Catppuccin Mocha theme for Starship
|
||||
xdg.configFile."starship.toml".text = ''
|
||||
format = "$all"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](bold green)"
|
||||
error_symbol = "[❯](bold red)"
|
||||
|
||||
[directory]
|
||||
style = "bold lavender"
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "bold maroon"
|
||||
|
||||
[package]
|
||||
disabled = true
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./kitty.nix
|
||||
./starship.nix
|
||||
./zsh.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
let
|
||||
zshConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/zsh";
|
||||
in
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
plugins = [
|
||||
"git"
|
||||
"zsh-autosuggestions"
|
||||
"zsh-syntax-highlighting"
|
||||
"docker"
|
||||
"kubectl"
|
||||
"history"
|
||||
"command-not-found"
|
||||
"extract"
|
||||
];
|
||||
};
|
||||
shellAliases = {
|
||||
ls = "exa --icons -a --group-directories-first";
|
||||
ll = "exa --icons -la --group-directories-first";
|
||||
};
|
||||
};
|
||||
|
||||
# Consolidated .zshrc
|
||||
xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [
|
||||
"# Oh-My-Zsh"
|
||||
"export ZSH=\"${zshConfigDir}\""
|
||||
"source \"${pkgs.zsh}/share/zsh/functions/Newuser/zsh-newuser-install\""
|
||||
"source \"${zshConfigDir}/oh-my-zsh.sh\""
|
||||
""
|
||||
"# Zsh options"
|
||||
"setopt AUTO_CD"
|
||||
"setopt CORRECT"
|
||||
"setopt INTERACTIVE_COMMENTS"
|
||||
""
|
||||
"# Starship"
|
||||
"eval \"$(starship init zsh)\""
|
||||
""
|
||||
"# fzf"
|
||||
"source \"${pkgs.fzf}/shell/key-bindings.zsh\""
|
||||
"source \"${pkgs.fzf}/shell/completion.zsh\""
|
||||
""
|
||||
"# User customizations"
|
||||
"source \"${zshConfigDir}/custom.zsh\" 2>/dev/null"
|
||||
];
|
||||
|
||||
# User customizations
|
||||
xdg.configFile."zsh/custom.zsh".text = ''
|
||||
export EDITOR="nvim"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./accessibility/top.nix
|
||||
./file_management/top.nix
|
||||
./gaming/top.nix
|
||||
./media_playback_editing/top.nix
|
||||
./office_productivity/top.nix
|
||||
./terminal_shell/top.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{ pkgs, user, ... } :
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tuigreet
|
||||
];
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = pkgs.lib.mkForce "${pkgs.tuigreet}/bin/tuigreet --remember --time --time-format '%I:%M %p | %a • %h | %F'";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./wayland.nix
|
||||
./login-tuigreeter.nix
|
||||
# ./login-lightdm.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{
|
||||
# Enable essential services for a Wayland session
|
||||
services.dbus.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
# XDG Desktop Portal settings for better application integration
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
config.common.default = [ "hyprland" "gtk" ];
|
||||
};
|
||||
|
||||
# Environment variables for a Wayland session
|
||||
environment.sessionVariables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XCURSOR_SIZE = "24";
|
||||
};
|
||||
|
||||
# Home Manager Wayland configurations
|
||||
home-manager.users.${user.username} = {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
||||
config.hyprland = {
|
||||
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./databases/top.nix
|
||||
./devops_ci_cd/top.nix
|
||||
./programming_languages/top.nix
|
||||
./virtualization/top.nix
|
||||
./web_development/top.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
# No subfolders to import
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./audio/top.nix
|
||||
./backups/top.nix
|
||||
./bluetooth/top.nix
|
||||
./disk_management/top.nix
|
||||
./hardware_sensors/top.nix
|
||||
./logging_monitoring/top.nix
|
||||
./login_manager/top.nix
|
||||
./monitor_setup/top.nix
|
||||
./networking/top.nix
|
||||
./power_management/top.nix
|
||||
./printers_scanners/top.nix
|
||||
./security/top.nix
|
||||
./system_updates/top.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
imports = [
|
||||
./applications/top.nix
|
||||
./core/top.nix
|
||||
./development/top.nix
|
||||
./system_management/top.nix
|
||||
];
|
||||
# .. put any code here
|
||||
}
|
||||
Reference in New Issue
Block a user