unify desktop and shodan

This commit is contained in:
Lillian Violet 2025-10-22 14:18:23 +02:00
parent d6dbb58305
commit c5073b924a
7 changed files with 42 additions and 234 deletions

View file

@ -240,6 +240,7 @@
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs outputs;};
modules = modules =
sharedModules sharedModules
++ desktopModules
++ [ ++ [
{_module.args = {inherit pkgs-edge;};} {_module.args = {inherit pkgs-edge;};}
# > Our main nixos configuration file < # > Our main nixos configuration file <

View file

@ -150,7 +150,6 @@
direnv direnv
git git
git-credential-manager git-credential-manager
git-credential-manager
ruff ruff
devtoolbox devtoolbox
@ -203,7 +202,6 @@
# Web browsing: # Web browsing:
firefoxpwa firefoxpwa
firefoxpwa
ungoogled-chromium ungoogled-chromium
]; ];
}; };

View file

@ -12,13 +12,8 @@
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
../../desktop/package-configs/plasma-desktop
../../desktop/package-configs/firefox
../../desktop/package-configs/konsole
../../desktop/package-configs/foot
../../desktop/package-configs/freetube
../../desktop/package-configs/vesktop
../../shared ../../shared
../../desktop
]; ];
nixpkgs = { nixpkgs = {
# You can add overlays here # You can add overlays here
@ -33,93 +28,14 @@
# }); # });
# }) # })
]; ];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home = {
username = "lillian";
homeDirectory = "/home/lillian";
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
#Chat:
vesktop
#Gaming: #Gaming:
# prismlauncher prismlauncher
r2modman r2modman
ryubing ryubing
# Multimedia:
freetube
obs-studio
vlc
fcast-receiver
fcast-client
# System tools:
rage
flameshot
fzf
nextcloud-client
# nitrokey-app
# protonvpn-gui
sops
#watchmate
qbittorrent
zsh
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-plymouth
catppuccin-sddm-corners
# Web browsing:
firefox
ungoogled-chromium
]; ];
programs = {
# # Automount services for user
# programs.bashmount.enable = true;
# services.udiskie = {
# enable = true;
# automount = true;
# notify = false;
# tray = "never";
# };
# Enable home-manager and git
home-manager.enable = true;
git = {
enable = true;
settings = {
user = {
name = "Lillian-Violet";
email = "git@lillianviolet.dev";
};
init = {
defaultBranch = "main";
};
};
ignores = [
"*.direnv"
"*.vscode"
".envrc"
"venv"
"venv"
];
signing.format = "ssh";
};
};
# Make the kde screenlock not require a password :) # Make the kde screenlock not require a password :)
programs.plasma.kscreenlocker.passwordRequired = false; programs.plasma.kscreenlocker.passwordRequired = false;

View file

@ -73,6 +73,13 @@
zsh zsh
# KDE/QT # KDE/QT
kdePackages.plasma-desktop
kdePackages.plasma-wayland-protocols
kdePackages.libplasma
kdePackages.plasma-integration
kdePackages.plasma-activities
kdePackages.plasma-workspace
kdePackages.plasma-vault
kdePackages.discover kdePackages.discover
kdePackages.filelight kdePackages.filelight
kdePackages.kcalc kdePackages.kcalc
@ -139,6 +146,8 @@
}; };
}; };
xdg.portal.enable = true;
# Enable networking # Enable networking
networking.networkmanager.enable = true; # Enables support for 32bit libs that steam uses networking.networkmanager.enable = true; # Enables support for 32bit libs that steam uses
@ -149,10 +158,10 @@
xserver.enable = true; xserver.enable = true;
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
displayManager.sddm = { # displayManager.sddm = {
enable = true; # enable = true;
wayland.enable = true; # wayland.enable = true;
}; # };
displayManager.defaultSession = "plasma"; displayManager.defaultSession = "plasma";
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
desktopManager.plasma6.notoPackage = pkgs.atkinson-hyperlegible; desktopManager.plasma6.notoPackage = pkgs.atkinson-hyperlegible;

View file

@ -35,6 +35,14 @@
virtualisation.spiceUSBRedirection.enable = true; virtualisation.spiceUSBRedirection.enable = true;
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.displayManager.defaultSession = "plasma";
services.desktopManager.plasma6.enable = true;
services.samba = { services.samba = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;

View file

@ -34,6 +34,14 @@
gparted gparted
]; ];
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.displayManager.defaultSession = "plasma";
services.desktopManager.plasma6.enable = true;
services.vpn-ip = { services.vpn-ip = {
ip = "2"; ip = "2";
}; };

View file

@ -17,7 +17,7 @@
outputs.nixosModules.vpn-ip outputs.nixosModules.vpn-ip
# Import the shared settings # Import the shared settings
../../desktop/package-configs/firefox ../../desktop
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
@ -76,120 +76,32 @@
ip = "4"; ip = "4";
}; };
xdg.portal.extraPortals = [pkgs.kdePackages.xdg-desktop-portal-kde];
services = { services = {
openssh.enable = true; # Enables support for 32bit libs that steam uses displayManager = {
# defaultSession = "plasma";
# Enable the X11 windowing system. sddm.wayland.enable = lib.mkForce true;
xserver.enable = true; sddm.settings = {
Autologin = {
# Enable the KDE Plasma Desktop Environment. Session = "plasma.desktop";
desktopManager.plasma6.enable = true; User = "lillian";
desktopManager.plasma6.notoPackage = pkgs.atkinson-hyperlegible; };
avahi = {
nssmdns4 = true;
enable = true;
ipv4 = true;
ipv6 = true;
publish = {
enable = true;
addresses = true;
workstation = true;
}; };
}; };
# displayManager = {
# # defaultSession = "plasma";
# sddm.wayland.enable = lib.mkForce true;
# sddm.settings = {
# Autologin = {
# Session = "plasma.desktop";
# User = "lillian";
# };
# };
# };
# Enable flatpak support
flatpak.enable = true;
packagekit.enable = true;
# Configure keymap in X11
xserver = {
xkb.layout = "us";
xkb.variant = "";
};
# Enable CUPS to print documents.
printing.enable = true;
# Enable fwupd daemon and user space client
fwupd.enable = true;
# pipewire = {
# enable = true;
# alsa.enable = true;
# alsa.support32Bit = true;
# pulse.enable = true;
# };
}; };
nixpkgs = {
# You can add overlays here
overlays = [
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Custom tools # Custom tools
auto-mount
#System: #System:
btrfs-progs
decky-loader decky-loader
efitools
jq
noto-fonts noto-fonts
noto-fonts-emoji-blob-bin noto-fonts-emoji-blob-bin
noto-fonts-emoji noto-fonts-emoji
qjackctl
ttf-ms-win10
bottles
jre8 jre8
# jellyfin-media-player # jellyfin-media-player
#rustdesk #rustdesk
sbctl
udisks
util-linux
wayland-utils
waypipe
python3
protonup-qt
#KDE:
# # KDE/QT
kdePackages.discover
kdePackages.filelight
kdePackages.kcalc
kdePackages.kdepim-addons
kdePackages.kirigami
kdePackages.kdeconnect-kde
kdePackages.konsole
# kdePackages.krunner-ssh
# kdePackages.krunner-symbols
kdePackages.packagekit-qt
kdePackages.plasma-pa
kdePackages.sddm-kcm
kdePackages.dolphin-plugins
kdePackages.qtstyleplugin-kvantum
kdePackages.krdc
kdePackages.krfb
kdePackages.kate
kdePackages.xwaylandvideobridge
libportal-qt5
libportal
#Gaming: #Gaming:
heroic heroic
@ -243,56 +155,12 @@
}; };
}; };
fonts.packages = [pkgs.ttf-ms-win10]; fonts.packages = [pkgs.ttf-ms-win10];
programs = {
steam = lib.mkForce {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
extest.enable = true;
};
kdeconnect.enable = true;
noisetorch = {
enable = true;
};
git = {
enable = true;
};
};
# # Enable automounting of removable media # # Enable automounting of removable media
# services.udisks2.enable = true; # services.udisks2.enable = true;
# services.devmon.enable = true; # services.devmon.enable = true;
# services.gvfs.enable = true; # services.gvfs.enable = true;
# environment.variables.GIO_EXTRA_MODULES = lib.mkForce ["${pkgs.gvfs}/lib/gio/modules"]; # environment.variables.GIO_EXTRA_MODULES = lib.mkForce ["${pkgs.gvfs}/lib/gio/modules"];
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
hardware = {
graphics.enable32Bit = true;
# Enable bluetooth hardware
bluetooth.enable = true;
# Enable sound with pipewire.
};
services.pulseaudio.enable = false;
users.users.lillian.extraGroups = ["decky" "tss" "input"];
# Enable completion of system packages by zsh
environment.pathsToLink = ["/share/zsh"];
security = {
rtkit.enable = true;
tpm2 = {
enable = true;
pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
tctiEnvironment.enable = true;
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11"; system.stateVersion = "25.11";
} }