init
139
Configurations/Hosts/Default/configuration.nix
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
{ config, pkgs, host, lib, inputs, userconf, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# Load user-specific variables
|
||||||
|
userVars = import ./variables/user-vars.nix;
|
||||||
|
inherit (userVars) username gitUsername gitEmail keyboardLayout;
|
||||||
|
nixDirectory = "/home/${username}/NixOS";
|
||||||
|
in {
|
||||||
|
################################################################
|
||||||
|
# Module Imports
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
# Host-specific hardware configuration (autogenerated)
|
||||||
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
# System-level user definition
|
||||||
|
./user.nix
|
||||||
|
|
||||||
|
# Base and global modules
|
||||||
|
../../../Modules/System
|
||||||
|
|
||||||
|
# Home Manager integration
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
|
||||||
|
];
|
||||||
|
################################################################
|
||||||
|
# Display & Desktop Environment
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
desktopManager.xfce.enable = true;
|
||||||
|
xkb = {
|
||||||
|
layout = "de";
|
||||||
|
variant = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver.displayManager.lightdm.enable = false;
|
||||||
|
|
||||||
|
services.displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.qt6Packages.sddm;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# System Packages (XFCE & Utilities)
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
|
||||||
|
# XFCE Core
|
||||||
|
xfce.xfwm4
|
||||||
|
xfce.xfce4-panel
|
||||||
|
xfce.xfce4-session
|
||||||
|
xfce.xfce4-settings
|
||||||
|
xfce.thunar
|
||||||
|
xfce.mousepad
|
||||||
|
xfce.xfce4-terminal
|
||||||
|
xfce.xfce4-appfinder
|
||||||
|
xfce.xfce4-power-manager
|
||||||
|
xfce.xfce4-notifyd
|
||||||
|
xfce.xfce4-whiskermenu-plugin
|
||||||
|
|
||||||
|
# Optional Extras
|
||||||
|
xfce.gigolo
|
||||||
|
xfce.xfce4-screenshooter
|
||||||
|
xfce.parole
|
||||||
|
# xfce.xfce4-clipman
|
||||||
|
|
||||||
|
# other:
|
||||||
|
zsh
|
||||||
|
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
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
|
||||||
|
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||||
|
};
|
||||||
|
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
ohMyZsh = {
|
||||||
|
enable = true;
|
||||||
|
theme = "xiong-chiamiov-plus";
|
||||||
|
plugins = ["git"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Home Manager Configuration
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
backupFileExtension = "delme-HMbackup";
|
||||||
|
|
||||||
|
users.${username} = import ./home/home.nix {
|
||||||
|
inherit config nixDirectory pkgs;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Bootloader
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
boot.loader = {
|
||||||
|
grub = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = false;
|
||||||
|
useOSProber = false;
|
||||||
|
devices = ["nodev"];
|
||||||
|
};
|
||||||
|
systemd-boot.enable = false;
|
||||||
|
efi.canTouchEfiVariables = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# System Version
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
system.stateVersion = "25.05";
|
||||||
|
}
|
||||||
42
Configurations/Hosts/Default/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
abort ''
|
||||||
|
This file is a placeholder and should not be edited manually.
|
||||||
|
|
||||||
|
Please run:
|
||||||
|
nixos-generate-config
|
||||||
|
|
||||||
|
to regenerate the correct hardware configuration.
|
||||||
|
|
||||||
|
This file was intentionally disabled to prevent accidental editing.
|
||||||
|
'';
|
||||||
|
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.125312 = [ "ah124123ci" "xhci_pci" "¹3¹32134" "2143432" "12441234" ];
|
||||||
|
boot.initrd.14231 = [ ];
|
||||||
|
boot.124 = [ "124-124214" ];
|
||||||
|
boot.1241324134 = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/9b55ed5e-1-443f-a5e8-1fb378fdad77";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ 1241324134124214];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault 1324414124444444444444444444444444444444444;
|
||||||
|
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
}
|
||||||
169
Configurations/Hosts/Default/home/desktop.nix
Normal file
|
|
@ -0,0 +1,169 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# Your application definitions
|
||||||
|
apps = {
|
||||||
|
brave = {
|
||||||
|
name = "Brave";
|
||||||
|
genericName = "Web Browser";
|
||||||
|
exec = "brave";
|
||||||
|
icon = "world";
|
||||||
|
comment = "Browse the Web";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Network" "WebBrowser" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
terminal = {
|
||||||
|
name = "Terminal";
|
||||||
|
exec = "xfce4-terminal";
|
||||||
|
icon = "utilities-terminal";
|
||||||
|
comment = "Run a terminal emulator";
|
||||||
|
terminal = true;
|
||||||
|
categories = [ "System" "Utility" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
libre-calc = {
|
||||||
|
name = "Libre Calc";
|
||||||
|
exec = "libreoffice --calc";
|
||||||
|
icon = "libreoffice-calc";
|
||||||
|
comment = "Spreadsheet program";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Office" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
libre-write = {
|
||||||
|
name = "Libre Write";
|
||||||
|
exec = "libreoffice --writer";
|
||||||
|
icon = "libreoffice-writer";
|
||||||
|
comment = "Word processor";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Office" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
mpv = {
|
||||||
|
name = "MPV";
|
||||||
|
exec = "mpv";
|
||||||
|
icon = "mpv";
|
||||||
|
comment = "Video Player";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "AudioVideo" "Player" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
obsidian = {
|
||||||
|
name = "Obsidian";
|
||||||
|
exec = "obsidian %u";
|
||||||
|
icon = "obsidian";
|
||||||
|
comment = "Markdown Editor";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Office" "Utility" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
gwenview = {
|
||||||
|
name = "Gwenview";
|
||||||
|
exec = "gwenview %U";
|
||||||
|
icon = "gwenview";
|
||||||
|
comment = "Image Viewer";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Graphics" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
krita = {
|
||||||
|
name = "Krita";
|
||||||
|
exec = "krita %F";
|
||||||
|
icon = "krita";
|
||||||
|
comment = "Digital painting";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Graphics" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
prism-launcher = {
|
||||||
|
name = "Prism Launcher";
|
||||||
|
exec = "prismlauncher %U";
|
||||||
|
icon = "minecraft";
|
||||||
|
comment = "Minecraft Launcher";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Game" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
protonvpn = {
|
||||||
|
name = "ProtonVPN";
|
||||||
|
exec = "protonvpn-app";
|
||||||
|
icon = "protonvpn";
|
||||||
|
comment = "VPN Client";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Network" "Security" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
signal = {
|
||||||
|
name = "Signal";
|
||||||
|
exec = "signal-desktop %U";
|
||||||
|
icon = "signal-desktop";
|
||||||
|
comment = "Private Messenger";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Network" "InstantMessaging" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
vesktop = {
|
||||||
|
name = "Vesktop";
|
||||||
|
exec = "vesktop %U";
|
||||||
|
icon = "discord";
|
||||||
|
comment = "Discord Client";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Network" "Chat" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
spotify = {
|
||||||
|
name = "Spotify";
|
||||||
|
exec = "spotify %U";
|
||||||
|
icon = "spotify";
|
||||||
|
comment = "Spotify Music";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "AudioVideo" "Player" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
okular = {
|
||||||
|
name = "Okular";
|
||||||
|
exec = "okular %U";
|
||||||
|
icon = "okular";
|
||||||
|
comment = "PDF Viewer";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Office" "Viewer" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
steam = {
|
||||||
|
name = "Steam";
|
||||||
|
exec = "steam";
|
||||||
|
icon = "steam";
|
||||||
|
comment = "Steam Game Platform";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Game" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
home.activation.desktopFiles = lib.hm.dag.entryAfter [ "writeBoundary" ] (
|
||||||
|
''
|
||||||
|
mkdir -p "$HOME/Desktop"
|
||||||
|
'' + (lib.concatStringsSep "\n" (lib.mapAttrsToList (name: data:
|
||||||
|
let
|
||||||
|
desktopText = ''
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=${data.name}
|
||||||
|
${lib.optionalString (data ? genericName) "GenericName=${data.genericName}"}
|
||||||
|
Comment=${data.comment}
|
||||||
|
Exec=${data.exec}
|
||||||
|
Icon=${data.icon}
|
||||||
|
Terminal=${if data.terminal then "true" else "false"}
|
||||||
|
Categories=${lib.concatStringsSep ";" data.categories};
|
||||||
|
'';
|
||||||
|
in ''
|
||||||
|
cat > "$HOME/Desktop/${name}.desktop" <<EOF
|
||||||
|
${desktopText}
|
||||||
|
EOF
|
||||||
|
chmod +x "$HOME/Desktop/${name}.desktop"
|
||||||
|
''
|
||||||
|
) apps))
|
||||||
|
);
|
||||||
|
}
|
||||||
117
Configurations/Hosts/Default/home/home.nix
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
nixDirectory,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
# Import user-specific variables
|
||||||
|
userVars = import ../variables/user-vars.nix;
|
||||||
|
inherit (userVars) username gitUsername gitEmail;
|
||||||
|
in {
|
||||||
|
################################################################
|
||||||
|
# Basic Home Manager Setup
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
home.username = username;
|
||||||
|
home.homeDirectory = "/home/${username}";
|
||||||
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Module Imports
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
# All Home Manager Modules
|
||||||
|
../../../../Modules/Applications
|
||||||
|
|
||||||
|
# Extended Retro theme
|
||||||
|
../../../../Modules/Desktops/XFCE-retro
|
||||||
|
|
||||||
|
# Desktop applications
|
||||||
|
./desktop.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Nyx Tools Configuration
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
#imports = [
|
||||||
|
# # Nyx Tools
|
||||||
|
# # ../../../../Misc/Nyx-Tools/nyx.nix
|
||||||
|
#];
|
||||||
|
|
||||||
|
# Optional but really cool so if you wanna use it:
|
||||||
|
# https://github.com/Peritia-System/Nyx-Tools
|
||||||
|
|
||||||
|
#modules.nyx-rebuild = {
|
||||||
|
# enable = true;
|
||||||
|
# inherit username nixDirectory;
|
||||||
|
# editor = "nvim";
|
||||||
|
# formatter = "alejandra";
|
||||||
|
# enableAlias = false;
|
||||||
|
# autoPush = false;
|
||||||
|
# enableFormatting = false;
|
||||||
|
# startEditor = false;
|
||||||
|
#};
|
||||||
|
|
||||||
|
#modules.nyx-cleanup = {
|
||||||
|
# enable = true;
|
||||||
|
# inherit username nixDirectory;
|
||||||
|
# autoPush = false;
|
||||||
|
# keepGenerations = 5;
|
||||||
|
# enableAlias = false;
|
||||||
|
#};
|
||||||
|
|
||||||
|
#modules.nix-tool = {
|
||||||
|
# enable = true;
|
||||||
|
# inherit nixDirectory;
|
||||||
|
#};
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Package Selection
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
home.packages = import ./user-packages.nix {inherit pkgs;};
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Feature Modules
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
# App groups
|
||||||
|
standardApps.enable = true;
|
||||||
|
officeApps.enable = true;
|
||||||
|
|
||||||
|
# Individual applications
|
||||||
|
brave-and-extension.enable = true;
|
||||||
|
vscodium-and-extension.enable = true;
|
||||||
|
vesktop.enable = true;
|
||||||
|
krita.enable = true;
|
||||||
|
signal.enable = true;
|
||||||
|
spotify.enable = true;
|
||||||
|
obsidian.enable = true;
|
||||||
|
protonvpn.enable = true;
|
||||||
|
|
||||||
|
# Gaming:
|
||||||
|
prismlauncher.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
cliTools.enable = true;
|
||||||
|
|
||||||
|
################################################################
|
||||||
|
# Git Configuration
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = gitUsername;
|
||||||
|
userEmail = gitEmail;
|
||||||
|
|
||||||
|
aliases = {
|
||||||
|
co = "checkout";
|
||||||
|
ci = "commit";
|
||||||
|
st = "status";
|
||||||
|
br = "branch";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
6
Configurations/Hosts/Default/home/user-packages.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# ./user-packages.nix
|
||||||
|
{pkgs}:
|
||||||
|
with pkgs; [
|
||||||
|
mpv
|
||||||
|
vlc
|
||||||
|
]
|
||||||
32
Configurations/Hosts/Default/user.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
vars = import ./variables/user-vars.nix;
|
||||||
|
username = vars.username;
|
||||||
|
gitUsername = vars.gitUsername;
|
||||||
|
in {
|
||||||
|
users.mutableUsers = true;
|
||||||
|
|
||||||
|
# Main user
|
||||||
|
users.users.${username} = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = gitUsername;
|
||||||
|
createHome = true;
|
||||||
|
home = "/home/${username}";
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
group = "users";
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"networkmanager"
|
||||||
|
"libvirtd"
|
||||||
|
"scanner"
|
||||||
|
"lp"
|
||||||
|
"video"
|
||||||
|
"input"
|
||||||
|
"audio"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
3
Configurations/Hosts/Default/variables/system-vars.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
system = "x86_64-linux"; # Can also be aarch64-linux, etc.
|
||||||
|
}
|
||||||
8
Configurations/Hosts/Default/variables/user-vars.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# ./User/variables.nix
|
||||||
|
let
|
||||||
|
username = "user";
|
||||||
|
in {
|
||||||
|
inherit username;
|
||||||
|
gitUsername = "user-name-here";
|
||||||
|
gitEmail = "user@user-email.here";
|
||||||
|
}
|
||||||
28
Modules/Applications/GUI-Apps/Browser/brave/brave.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.brave-and-extension;
|
||||||
|
in {
|
||||||
|
options.brave-and-extension.enable = mkEnableOption "Enable Brave with extensions and flags";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.brave = {
|
||||||
|
package = pkgs.brave;
|
||||||
|
enable = true;
|
||||||
|
extensions = [
|
||||||
|
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
commandLineArgs = [
|
||||||
|
"--disable-features=AutofillSavePaymentMethods"
|
||||||
|
"--disable-features=PasswordManagerOnboarding"
|
||||||
|
"--disable-features=AutofillEnableAccountWalletStorage"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
17
Modules/Applications/GUI-Apps/Desktop-Apps/krita.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.krita;
|
||||||
|
in {
|
||||||
|
options.krita.enable = mkEnableOption "Enable krita";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pkgs.krita
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
15
Modules/Applications/GUI-Apps/Desktop-Apps/obsidian.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
options.obsidian.enable = mkEnableOption "Enable Obsidian installation";
|
||||||
|
|
||||||
|
config = mkIf config.obsidian.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
obsidian
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
23
Modules/Applications/GUI-Apps/Desktop-Apps/office-apps.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config;
|
||||||
|
|
||||||
|
officeApps = with pkgs; [
|
||||||
|
libreoffice
|
||||||
|
thunderbird
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
options.officeApps.enable = mkEnableOption ''
|
||||||
|
Enable office/document applications (e.g., LibreOffice, Thunderbird)
|
||||||
|
'';
|
||||||
|
|
||||||
|
config = {
|
||||||
|
home.packages =
|
||||||
|
optionals cfg.officeApps.enable officeApps;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.signal;
|
||||||
|
in {
|
||||||
|
options.signal.enable = mkEnableOption "Enable Signals Desktop Version";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pkgs.signal-desktop
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
16
Modules/Applications/GUI-Apps/Desktop-Apps/spotify.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
options.spotify.enable = mkEnableOption "Enable Spotify installation";
|
||||||
|
|
||||||
|
config = mkIf config.spotify.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
spotify
|
||||||
|
cava
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
22
Modules/Applications/GUI-Apps/Desktop-Apps/standard-apps.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config;
|
||||||
|
|
||||||
|
standardApps = with pkgs; [
|
||||||
|
kdePackages.gwenview
|
||||||
|
kdePackages.okular
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
options.standardApps.enable = mkEnableOption ''
|
||||||
|
Enable image and graphics applications (e.g., Gwenview, Okular)
|
||||||
|
'';
|
||||||
|
|
||||||
|
config = {
|
||||||
|
home.packages = optionals cfg.standardApps.enable standardApps;
|
||||||
|
};
|
||||||
|
}
|
||||||
17
Modules/Applications/GUI-Apps/Desktop-Apps/vesktop.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.vesktop;
|
||||||
|
in {
|
||||||
|
options.vesktop.enable = mkEnableOption "Enable Vesktop, the Custom Discord client, with extensions";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pkgs.vesktop
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
24
Modules/Applications/GUI-Apps/Desktop-Apps/vscodium.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.vscodium-and-extension;
|
||||||
|
in {
|
||||||
|
options.vscodium-and-extension.enable = mkEnableOption "Enable VScodium with extensions";
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||||
|
catppuccin.catppuccin-vsc
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
ms-python.python
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
21
Modules/Applications/GUI-Apps/Gaming/prismlauncher.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.prismlauncher.enable = lib.mkEnableOption "Enable PrismLauncher and dependencies";
|
||||||
|
|
||||||
|
config = lib.mkIf config.prismlauncher.enable {
|
||||||
|
home.packages = [
|
||||||
|
(pkgs.prismlauncher.override {
|
||||||
|
# Add binary required by some mod
|
||||||
|
additionalPrograms = [ pkgs.ffmpeg ];
|
||||||
|
|
||||||
|
# Set Java runtimes
|
||||||
|
jdks = [
|
||||||
|
pkgs.jdk8
|
||||||
|
pkgs.jdk17
|
||||||
|
pkgs.jdk21 or pkgs.jdk
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
11
Modules/Applications/GUI-Apps/VPN/protonvpn.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.protonvpn.enable = lib.mkEnableOption "Enable ProtonVPN and dependencies";
|
||||||
|
|
||||||
|
config = lib.mkIf config.protonvpn.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
protonvpn-gui
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
32
Modules/Applications/GUI-Apps/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Import all modules so home.nix only needs to import this file
|
||||||
|
{ config, pkgs, lib, inputs, ... }: {
|
||||||
|
imports = [
|
||||||
|
|
||||||
|
################
|
||||||
|
# 🖥️ Desktop Apps #
|
||||||
|
################
|
||||||
|
./Desktop-Apps/krita.nix
|
||||||
|
./Desktop-Apps/obsidian.nix
|
||||||
|
./Desktop-Apps/office-apps.nix
|
||||||
|
./Desktop-Apps/signal-desktop.nix
|
||||||
|
./Desktop-Apps/spotify.nix
|
||||||
|
./Desktop-Apps/standard-apps.nix
|
||||||
|
./Desktop-Apps/vesktop.nix
|
||||||
|
./Desktop-Apps/vscodium.nix
|
||||||
|
|
||||||
|
#############
|
||||||
|
# 🌐 Browser #
|
||||||
|
#############
|
||||||
|
./Browser/brave/brave.nix
|
||||||
|
|
||||||
|
############
|
||||||
|
# 🎮 Gaming #
|
||||||
|
############
|
||||||
|
./Gaming/prismlauncher.nix
|
||||||
|
|
||||||
|
###########
|
||||||
|
# 🔐 VPNs #
|
||||||
|
###########
|
||||||
|
./VPN/protonvpn.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
17
Modules/Applications/Shell/cli-tools/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.cliTools.enable = lib.mkEnableOption "Enable CLI tools like fastfetch and hyfetch";
|
||||||
|
|
||||||
|
config = lib.mkIf config.cliTools.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
fastfetch
|
||||||
|
hyfetch
|
||||||
|
bat
|
||||||
|
fzf
|
||||||
|
tree
|
||||||
|
lsd
|
||||||
|
tmux
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
14
Modules/Applications/Shell/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Import all modules so home.nix only needs to import this file
|
||||||
|
{ config, pkgs, lib, inputs, ... }: {
|
||||||
|
imports = [
|
||||||
|
####################
|
||||||
|
# 🧰 CLI Tools #
|
||||||
|
####################
|
||||||
|
./cli-tools/default.nix
|
||||||
|
|
||||||
|
####################
|
||||||
|
# 🐚 Zsh Shell #
|
||||||
|
####################
|
||||||
|
./zsh/default.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
43
Modules/Applications/Shell/zsh/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
name = "zsh-autosuggestions";
|
||||||
|
src = pkgs.zsh-autosuggestions;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "zsh-syntax-highlighting";
|
||||||
|
src = pkgs.zsh-syntax-highlighting;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
initContent = ''
|
||||||
|
hyfetch
|
||||||
|
|
||||||
|
alias ls='lsd'
|
||||||
|
alias l='ls -l'
|
||||||
|
alias la='ls -a'
|
||||||
|
alias lla='ls -la'
|
||||||
|
alias lt='ls --tree'
|
||||||
|
|
||||||
|
HISTFILE=~/.zsh_history;
|
||||||
|
HISTSIZE=10000;
|
||||||
|
SAVEHIST=10000;
|
||||||
|
setopt appendhistory;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
zsh-autosuggestions
|
||||||
|
zsh-syntax-highlighting
|
||||||
|
];
|
||||||
|
}
|
||||||
16
Modules/Applications/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Import all modules so home.nix only needs to import this file
|
||||||
|
{ config, pkgs, lib, inputs, ... }: {
|
||||||
|
imports = [
|
||||||
|
#################
|
||||||
|
# 🖥 GUI Software #
|
||||||
|
#################
|
||||||
|
./GUI-Apps
|
||||||
|
|
||||||
|
#################
|
||||||
|
# 🐚 Shell Setup #
|
||||||
|
#################
|
||||||
|
./Shell
|
||||||
|
|
||||||
|
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Brave
|
||||||
|
GenericName=Web Browser
|
||||||
|
Comment=Browse the Web
|
||||||
|
Exec=brave
|
||||||
|
Icon=world
|
||||||
|
Terminal=false
|
||||||
|
Categories=Network;WebBrowser;
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Signal
|
||||||
|
|
||||||
|
Comment=Private Messenger
|
||||||
|
Exec=signal-desktop %U
|
||||||
|
Icon=signal-desktop
|
||||||
|
Terminal=false
|
||||||
|
Categories=Network;InstantMessaging;
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Obsidian
|
||||||
|
|
||||||
|
Comment=Markdown Editor
|
||||||
|
Exec=obsidian %u
|
||||||
|
Icon=obsidian
|
||||||
|
Terminal=false
|
||||||
|
Categories=Office;Utility;
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Spotify
|
||||||
|
|
||||||
|
Comment=Spotify Music
|
||||||
|
Exec=spotify %U
|
||||||
|
Icon=spotify
|
||||||
|
Terminal=false
|
||||||
|
Categories=AudioVideo;Player;
|
||||||
33
Modules/Desktops/XFCE-retro/Dotfiles/xfce4-desktop.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?xml version="1.1" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-desktop" version="1.0">
|
||||||
|
<property name="last-settings-migration-version" type="uint" value="1"/>
|
||||||
|
<property name="backdrop" type="empty">
|
||||||
|
<property name="screen0" type="empty">
|
||||||
|
<property name="monitor0" type="empty">
|
||||||
|
<property name="image-path" type="string" value="/home/user/Wallpaper/NixOS-95-wallpaper.png"/>
|
||||||
|
<property name="image-show" type="bool" value="true"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
</property>
|
||||||
|
<property name="monitoreDP-1" type="empty">
|
||||||
|
<property name="workspace0" type="empty">
|
||||||
|
<property name="last-image" type="string" value="/home/user/Wallpaper/NixOS-95-wallpaper.png"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="last" type="empty">
|
||||||
|
<property name="window-width" type="int" value="740"/>
|
||||||
|
<property name="window-height" type="int" value="531"/>
|
||||||
|
</property>
|
||||||
|
<property name="desktop-icons" type="empty">
|
||||||
|
<property name="style" type="int" value="2"/>
|
||||||
|
<property name="file-icons" type="empty">
|
||||||
|
<property name="show-home" type="bool" value="false"/>
|
||||||
|
<property name="show-filesystem" type="bool" value="false"/>
|
||||||
|
<property name="show-trash" type="bool" value="false"/>
|
||||||
|
<property name="show-removable" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
|
|
@ -0,0 +1,197 @@
|
||||||
|
<?xml version="1.1" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-keyboard-shortcuts" version="1.0">
|
||||||
|
<property name="commands" type="empty">
|
||||||
|
<property name="default" type="empty">
|
||||||
|
<property name="<Alt>F1" type="empty"/>
|
||||||
|
<property name="<Alt>F2" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Alt>F3" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Primary><Alt>Delete" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>l" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>t" type="empty"/>
|
||||||
|
<property name="XF86Display" type="empty"/>
|
||||||
|
<property name="<Super>p" type="empty"/>
|
||||||
|
<property name="<Primary>Escape" type="empty"/>
|
||||||
|
<property name="XF86WWW" type="empty"/>
|
||||||
|
<property name="HomePage" type="empty"/>
|
||||||
|
<property name="XF86Mail" type="empty"/>
|
||||||
|
<property name="Print" type="empty"/>
|
||||||
|
<property name="<Alt>Print" type="empty"/>
|
||||||
|
<property name="<Shift>Print" type="empty"/>
|
||||||
|
<property name="<Super>e" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>f" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Escape" type="empty"/>
|
||||||
|
<property name="<Primary><Shift>Escape" type="empty"/>
|
||||||
|
<property name="<Super>r" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Alt><Super>s" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="custom" type="empty">
|
||||||
|
<property name="<Alt>F2" type="string" value="xfce4-appfinder --collapsed">
|
||||||
|
<property name="startup-notify" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Alt>Print" type="string" value="xfce4-screenshooter -w"/>
|
||||||
|
<property name="<Super>r" type="string" value="xfce4-appfinder -c">
|
||||||
|
<property name="startup-notify" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
|
||||||
|
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
|
||||||
|
<property name="<Alt>F3" type="string" value="xfce4-appfinder">
|
||||||
|
<property name="startup-notify" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="Print" type="string" value="xfce4-screenshooter"/>
|
||||||
|
<property name="<Primary>Escape" type="string" value="xfdesktop --menu"/>
|
||||||
|
<property name="<Shift>Print" type="string" value="xfce4-screenshooter -r"/>
|
||||||
|
<property name="<Primary><Alt>Delete" type="string" value="xfce4-session-logout"/>
|
||||||
|
<property name="<Alt><Super>s" type="string" value="orca"/>
|
||||||
|
<property name="<Primary><Alt>t" type="string" value="exo-open --launch TerminalEmulator"/>
|
||||||
|
<property name="<Primary><Alt>f" type="string" value="thunar"/>
|
||||||
|
<property name="<Primary><Alt>l" type="string" value="xflock4"/>
|
||||||
|
<property name="<Super>l" type="string" value="xflock4"/>
|
||||||
|
<property name="<Alt>F1" type="string" value="xfce4-popup-applicationsmenu"/>
|
||||||
|
<property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/>
|
||||||
|
<property name="<Primary><Shift>Escape" type="string" value="xfce4-taskmanager"/>
|
||||||
|
<property name="<Super>e" type="string" value="thunar"/>
|
||||||
|
<property name="<Primary><Alt>Escape" type="string" value="xkill"/>
|
||||||
|
<property name="HomePage" type="string" value="exo-open --launch WebBrowser"/>
|
||||||
|
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
|
||||||
|
<property name="override" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="xfwm4" type="empty">
|
||||||
|
<property name="default" type="empty">
|
||||||
|
<property name="<Alt>Insert" type="empty"/>
|
||||||
|
<property name="Escape" type="empty"/>
|
||||||
|
<property name="Left" type="empty"/>
|
||||||
|
<property name="Right" type="empty"/>
|
||||||
|
<property name="Up" type="empty"/>
|
||||||
|
<property name="Down" type="empty"/>
|
||||||
|
<property name="<Alt>Tab" type="empty"/>
|
||||||
|
<property name="<Alt><Shift>Tab" type="empty"/>
|
||||||
|
<property name="<Alt>Delete" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Down" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Shift><Alt>Page_Down" type="empty"/>
|
||||||
|
<property name="<Alt>F4" type="empty"/>
|
||||||
|
<property name="<Alt>F6" type="empty"/>
|
||||||
|
<property name="<Alt>F7" type="empty"/>
|
||||||
|
<property name="<Alt>F8" type="empty"/>
|
||||||
|
<property name="<Alt>F9" type="empty"/>
|
||||||
|
<property name="<Alt>F10" type="empty"/>
|
||||||
|
<property name="<Alt>F11" type="empty"/>
|
||||||
|
<property name="<Alt>F12" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>End" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Home" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_1" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_2" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_3" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_4" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_5" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_6" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_7" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_8" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_9" type="empty"/>
|
||||||
|
<property name="<Alt>space" type="empty"/>
|
||||||
|
<property name="<Shift><Alt>Page_Up" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>d" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Super>Tab" type="xfce4-popup-applicationsmenu"/>
|
||||||
|
<property name="<Primary>F1" type="empty"/>
|
||||||
|
<property name="<Primary>F2" type="empty"/>
|
||||||
|
<property name="<Primary>F3" type="empty"/>
|
||||||
|
<property name="<Primary>F4" type="empty"/>
|
||||||
|
<property name="<Primary>F5" type="empty"/>
|
||||||
|
<property name="<Primary>F6" type="empty"/>
|
||||||
|
<property name="<Primary>F7" type="empty"/>
|
||||||
|
<property name="<Primary>F8" type="empty"/>
|
||||||
|
<property name="<Primary>F9" type="empty"/>
|
||||||
|
<property name="<Primary>F10" type="empty"/>
|
||||||
|
<property name="<Primary>F11" type="empty"/>
|
||||||
|
<property name="<Primary>F12" type="empty"/>
|
||||||
|
<property name="<Super>KP_Left" type="empty"/>
|
||||||
|
<property name="<Super>KP_Right" type="empty"/>
|
||||||
|
<property name="<Super>KP_Down" type="empty"/>
|
||||||
|
<property name="<Super>KP_Up" type="empty"/>
|
||||||
|
<property name="<Super>KP_Page_Up" type="empty"/>
|
||||||
|
<property name="<Super>KP_Home" type="empty"/>
|
||||||
|
<property name="<Super>KP_End" type="empty"/>
|
||||||
|
<property name="<Super>KP_Next" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="custom" type="empty">
|
||||||
|
<property name="<Primary>F12" type="string" value="workspace_12_key"/>
|
||||||
|
<property name="<Super>KP_Down" type="string" value="tile_down_key"/>
|
||||||
|
<property name="<Alt>F4" type="string" value="close_window_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||||
|
<property name="<Primary>F2" type="string" value="workspace_2_key"/>
|
||||||
|
<property name="<Primary>F6" type="string" value="workspace_6_key"/>
|
||||||
|
<property name="<Primary><Alt>Down" type="string" value="down_workspace_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||||
|
<property name="<Super>KP_Up" type="string" value="tile_up_key"/>
|
||||||
|
<property name="<Primary><Alt>End" type="string" value="move_window_next_workspace_key"/>
|
||||||
|
<property name="<Primary>F8" type="string" value="workspace_8_key"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Left" type="string" value="move_window_left_key"/>
|
||||||
|
<property name="<Super>KP_Right" type="string" value="tile_right_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||||
|
<property name="Right" type="string" value="right_key"/>
|
||||||
|
<property name="Down" type="string" value="down_key"/>
|
||||||
|
<property name="<Primary>F3" type="string" value="workspace_3_key"/>
|
||||||
|
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
|
||||||
|
<property name="<Primary>F9" type="string" value="workspace_9_key"/>
|
||||||
|
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Right" type="string" value="move_window_right_key"/>
|
||||||
|
<property name="<Primary><Alt>Right" type="string" value="right_workspace_key"/>
|
||||||
|
<property name="<Alt>F6" type="string" value="stick_window_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||||
|
<property name="<Primary>F11" type="string" value="workspace_11_key"/>
|
||||||
|
<property name="<Alt>F10" type="string" value="maximize_window_key"/>
|
||||||
|
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
|
||||||
|
<property name="<Super>Tab" type="string" value="switch_window_key"/>
|
||||||
|
<property name="<Primary><Alt>d" type="string" value="show_desktop_key"/>
|
||||||
|
<property name="<Primary>F4" type="string" value="workspace_4_key"/>
|
||||||
|
<property name="<Super>KP_Page_Up" type="string" value="tile_up_right_key"/>
|
||||||
|
<property name="<Alt>F7" type="string" value="move_window_key"/>
|
||||||
|
<property name="Up" type="string" value="up_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||||
|
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
|
||||||
|
<property name="<Alt>space" type="string" value="popup_menu_key"/>
|
||||||
|
<property name="<Super>KP_Home" type="string" value="tile_up_left_key"/>
|
||||||
|
<property name="Escape" type="string" value="cancel_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||||
|
<property name="<Super>KP_Next" type="string" value="tile_down_right_key"/>
|
||||||
|
<property name="<Super>KP_Left" type="string" value="tile_left_key"/>
|
||||||
|
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
|
||||||
|
<property name="<Primary><Alt>Home" type="string" value="move_window_prev_workspace_key"/>
|
||||||
|
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
|
||||||
|
<property name="<Primary><Alt>Left" type="string" value="left_workspace_key"/>
|
||||||
|
<property name="<Alt>F12" type="string" value="above_key"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||||
|
<property name="<Primary>F5" type="string" value="workspace_5_key"/>
|
||||||
|
<property name="<Alt>F8" type="string" value="resize_window_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||||
|
<property name="<Super>KP_End" type="string" value="tile_down_left_key"/>
|
||||||
|
<property name="<Primary><Alt>Up" type="string" value="up_workspace_key"/>
|
||||||
|
<property name="<Alt>F9" type="string" value="hide_window_key"/>
|
||||||
|
<property name="<Primary>F7" type="string" value="workspace_7_key"/>
|
||||||
|
<property name="<Primary>F10" type="string" value="workspace_10_key"/>
|
||||||
|
<property name="Left" type="string" value="left_key"/>
|
||||||
|
<property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||||
|
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
|
||||||
|
<property name="<Primary>F1" type="string" value="workspace_1_key"/>
|
||||||
|
<property name="override" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="providers" type="array">
|
||||||
|
<value type="string" value="xfwm4"/>
|
||||||
|
<value type="string" value="commands"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
81
Modules/Desktops/XFCE-retro/Dotfiles/xfce4-panel.xml
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?xml version="1.1" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-panel" version="1.0">
|
||||||
|
<property name="configver" type="int" value="2"/>
|
||||||
|
<property name="panels" type="array">
|
||||||
|
<value type="int" value="1"/>
|
||||||
|
<property name="dark-mode" type="bool" value="true"/>
|
||||||
|
<property name="panel-1" type="empty">
|
||||||
|
<property name="position" type="string" value="p=8;x=1368;y=1810"/>
|
||||||
|
<property name="length" type="double" value="100"/>
|
||||||
|
<property name="position-locked" type="bool" value="true"/>
|
||||||
|
<property name="icon-size" type="uint" value="0"/>
|
||||||
|
<property name="size" type="uint" value="36"/>
|
||||||
|
<property name="plugin-ids" type="array">
|
||||||
|
<value type="int" value="1"/>
|
||||||
|
<value type="int" value="13"/>
|
||||||
|
<value type="int" value="14"/>
|
||||||
|
<value type="int" value="15"/>
|
||||||
|
<value type="int" value="16"/>
|
||||||
|
<value type="int" value="2"/>
|
||||||
|
<value type="int" value="5"/>
|
||||||
|
<value type="int" value="6"/>
|
||||||
|
<value type="int" value="8"/>
|
||||||
|
<value type="int" value="10"/>
|
||||||
|
</property>
|
||||||
|
<property name="mode" type="uint" value="0"/>
|
||||||
|
<property name="background-style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugins" type="empty">
|
||||||
|
<property name="plugin-1" type="string" value="whiskermenu">
|
||||||
|
<property name="button-icon" type="string" value="whisker-menu-button"/>
|
||||||
|
<property name="recent" type="array">
|
||||||
|
<value type="string" value="codium.desktop"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-2" type="string" value="tasklist">
|
||||||
|
<property name="grouping" type="uint" value="1"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-6" type="string" value="systray">
|
||||||
|
<property name="square-icons" type="bool" value="true"/>
|
||||||
|
<property name="known-legacy-items" type="array">
|
||||||
|
<value type="string" value="networkmanager applet"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-8" type="string" value="clock">
|
||||||
|
<property name="mode" type="uint" value="2"/>
|
||||||
|
<property name="digital-layout" type="uint" value="3"/>
|
||||||
|
<property name="digital-time-font" type="string" value="Sans 12"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-10" type="string" value="actions"/>
|
||||||
|
<property name="plugin-13" type="string" value="launcher">
|
||||||
|
<property name="show-label" type="bool" value="false"/>
|
||||||
|
<property name="items" type="array">
|
||||||
|
<value type="string" value="brave.desktop"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-14" type="string" value="launcher">
|
||||||
|
<property name="show-label" type="bool" value="false"/>
|
||||||
|
<property name="items" type="array">
|
||||||
|
<value type="string" value="signal.desktop"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-15" type="string" value="launcher">
|
||||||
|
<property name="show-label" type="bool" value="false"/>
|
||||||
|
<property name="items" type="array">
|
||||||
|
<value type="string" value="obsidian.desktop"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-16" type="string" value="launcher">
|
||||||
|
<property name="show-label" type="bool" value="false"/>
|
||||||
|
<property name="items" type="array">
|
||||||
|
<value type="string" value="spotify.desktop"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-5" type="string" value="separator">
|
||||||
|
<property name="expand" type="bool" value="true"/>
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
6
Modules/Desktops/XFCE-retro/Dotfiles/xfce4-sessions.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<channel name="xfce4-session" version="1.0">
|
||||||
|
<property name="General">
|
||||||
|
<property name="SaveOnExit" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
91
Modules/Desktops/XFCE-retro/Dotfiles/xfwm4.xml
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
<?xml version="1.1" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfwm4" version="1.0">
|
||||||
|
<property name="general" type="empty">
|
||||||
|
<property name="activate_action" type="string" value="bring"/>
|
||||||
|
<property name="borderless_maximize" type="bool" value="true"/>
|
||||||
|
<property name="box_move" type="bool" value="false"/>
|
||||||
|
<property name="box_resize" type="bool" value="false"/>
|
||||||
|
<property name="button_layout" type="string" value="O|SHMC"/>
|
||||||
|
<property name="button_offset" type="int" value="0"/>
|
||||||
|
<property name="button_spacing" type="int" value="0"/>
|
||||||
|
<property name="click_to_focus" type="bool" value="true"/>
|
||||||
|
<property name="cycle_apps_only" type="bool" value="false"/>
|
||||||
|
<property name="cycle_draw_frame" type="bool" value="true"/>
|
||||||
|
<property name="cycle_raise" type="bool" value="false"/>
|
||||||
|
<property name="cycle_hidden" type="bool" value="true"/>
|
||||||
|
<property name="cycle_minimum" type="bool" value="true"/>
|
||||||
|
<property name="cycle_minimized" type="bool" value="false"/>
|
||||||
|
<property name="cycle_preview" type="bool" value="true"/>
|
||||||
|
<property name="cycle_tabwin_mode" type="int" value="0"/>
|
||||||
|
<property name="cycle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="double_click_action" type="string" value="maximize"/>
|
||||||
|
<property name="double_click_distance" type="int" value="5"/>
|
||||||
|
<property name="double_click_time" type="int" value="250"/>
|
||||||
|
<property name="easy_click" type="string" value="Alt"/>
|
||||||
|
<property name="focus_delay" type="int" value="250"/>
|
||||||
|
<property name="focus_hint" type="bool" value="true"/>
|
||||||
|
<property name="focus_new" type="bool" value="true"/>
|
||||||
|
<property name="frame_opacity" type="int" value="100"/>
|
||||||
|
<property name="frame_border_top" type="int" value="0"/>
|
||||||
|
<property name="full_width_title" type="bool" value="true"/>
|
||||||
|
<property name="horiz_scroll_opacity" type="bool" value="false"/>
|
||||||
|
<property name="inactive_opacity" type="int" value="100"/>
|
||||||
|
<property name="maximized_offset" type="int" value="0"/>
|
||||||
|
<property name="mousewheel_rollup" type="bool" value="true"/>
|
||||||
|
<property name="move_opacity" type="int" value="100"/>
|
||||||
|
<property name="placement_mode" type="string" value="center"/>
|
||||||
|
<property name="placement_ratio" type="int" value="20"/>
|
||||||
|
<property name="popup_opacity" type="int" value="100"/>
|
||||||
|
<property name="prevent_focus_stealing" type="bool" value="false"/>
|
||||||
|
<property name="raise_delay" type="int" value="250"/>
|
||||||
|
<property name="raise_on_click" type="bool" value="true"/>
|
||||||
|
<property name="raise_on_focus" type="bool" value="false"/>
|
||||||
|
<property name="raise_with_any_button" type="bool" value="true"/>
|
||||||
|
<property name="repeat_urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="resize_opacity" type="int" value="100"/>
|
||||||
|
<property name="scroll_workspaces" type="bool" value="true"/>
|
||||||
|
<property name="shadow_delta_height" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_width" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_x" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_y" type="int" value="-3"/>
|
||||||
|
<property name="shadow_opacity" type="int" value="50"/>
|
||||||
|
<property name="show_app_icon" type="bool" value="false"/>
|
||||||
|
<property name="show_dock_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_frame_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_popup_shadow" type="bool" value="false"/>
|
||||||
|
<property name="snap_resist" type="bool" value="false"/>
|
||||||
|
<property name="snap_to_border" type="bool" value="true"/>
|
||||||
|
<property name="snap_to_windows" type="bool" value="false"/>
|
||||||
|
<property name="snap_width" type="int" value="10"/>
|
||||||
|
<property name="vblank_mode" type="string" value="auto"/>
|
||||||
|
<property name="theme" type="string" value="Default"/>
|
||||||
|
<property name="tile_on_move" type="bool" value="true"/>
|
||||||
|
<property name="title_alignment" type="string" value="center"/>
|
||||||
|
<property name="title_font" type="string" value="Sans Bold 9"/>
|
||||||
|
<property name="title_horizontal_offset" type="int" value="0"/>
|
||||||
|
<property name="titleless_maximize" type="bool" value="false"/>
|
||||||
|
<property name="title_shadow_active" type="string" value="false"/>
|
||||||
|
<property name="title_shadow_inactive" type="string" value="false"/>
|
||||||
|
<property name="title_vertical_offset_active" type="int" value="0"/>
|
||||||
|
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||||
|
<property name="toggle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||||
|
<property name="urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="use_compositing" type="bool" value="true"/>
|
||||||
|
<property name="workspace_count" type="int" value="4"/>
|
||||||
|
<property name="wrap_cycle" type="bool" value="true"/>
|
||||||
|
<property name="wrap_layout" type="bool" value="true"/>
|
||||||
|
<property name="wrap_resistance" type="int" value="10"/>
|
||||||
|
<property name="wrap_windows" type="bool" value="true"/>
|
||||||
|
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="zoom_desktop" type="bool" value="true"/>
|
||||||
|
<property name="zoom_pointer" type="bool" value="true"/>
|
||||||
|
<property name="workspace_names" type="array">
|
||||||
|
<value type="string" value="Workspace 1"/>
|
||||||
|
<value type="string" value="Workspace 2"/>
|
||||||
|
<value type="string" value="Workspace 3"/>
|
||||||
|
<value type="string" value="Workspace 4"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
45
Modules/Desktops/XFCE-retro/Dotfiles/xsettings.xml
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.1" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xsettings" version="1.0">
|
||||||
|
<property name="Net" type="empty">
|
||||||
|
<property name="ThemeName" type="string" value="Chicago95"/>
|
||||||
|
<property name="IconThemeName" type="string" value="Chicago95"/>
|
||||||
|
<property name="DoubleClickTime" type="empty"/>
|
||||||
|
<property name="DoubleClickDistance" type="empty"/>
|
||||||
|
<property name="DndDragThreshold" type="empty"/>
|
||||||
|
<property name="CursorBlink" type="empty"/>
|
||||||
|
<property name="CursorBlinkTime" type="empty"/>
|
||||||
|
<property name="SoundThemeName" type="empty"/>
|
||||||
|
<property name="EnableEventSounds" type="empty"/>
|
||||||
|
<property name="EnableInputFeedbackSounds" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Xft" type="empty">
|
||||||
|
<property name="DPI" type="int" value="100"/>
|
||||||
|
<property name="Antialias" type="empty"/>
|
||||||
|
<property name="Hinting" type="empty"/>
|
||||||
|
<property name="HintStyle" type="empty"/>
|
||||||
|
<property name="RGBA" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gtk" type="empty">
|
||||||
|
<property name="CanChangeAccels" type="empty"/>
|
||||||
|
<property name="ColorPalette" type="empty"/>
|
||||||
|
<property name="FontName" type="empty"/>
|
||||||
|
<property name="MonospaceFontName" type="empty"/>
|
||||||
|
<property name="IconSizes" type="empty"/>
|
||||||
|
<property name="KeyThemeName" type="empty"/>
|
||||||
|
<property name="MenuImages" type="empty"/>
|
||||||
|
<property name="ButtonImages" type="empty"/>
|
||||||
|
<property name="MenuBarAccel" type="empty"/>
|
||||||
|
<property name="CursorThemeName" type="string" value="Chicago95"/>
|
||||||
|
<property name="CursorThemeSize" type="empty"/>
|
||||||
|
<property name="DecorationLayout" type="string" value="icon,menu:minimize,maximize,close"/>
|
||||||
|
<property name="DialogsUseHeader" type="empty"/>
|
||||||
|
<property name="TitlebarMiddleClick" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gdk" type="empty">
|
||||||
|
<property name="WindowScalingFactor" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Xfce" type="empty">
|
||||||
|
<property name="LastCustomDPI" type="int" value="100"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
79
Modules/Desktops/XFCE-retro/default.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
|
||||||
|
chicago95 = pkgs.callPackage ../../../Ressources/Themes/Chicago95/chicago95.nix {};
|
||||||
|
dotfilesPath = ./Dotfiles;
|
||||||
|
resourcesPath = ../../../Ressources;
|
||||||
|
wallpaperFile = "Wallpaper/NixOS-95-wallpaper.png";
|
||||||
|
wallpaperPath = "${config.home.homeDirectory}/${wallpaperFile}";
|
||||||
|
wallpaperOrigin = "${resourcesPath}/Images/Wallpapers/Wallpaper-1.png";
|
||||||
|
dotfiles = "${dotfilesPath}";
|
||||||
|
in {
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
theme = {
|
||||||
|
name = "Chicago95";
|
||||||
|
package = chicago95;
|
||||||
|
};
|
||||||
|
iconTheme = {
|
||||||
|
name = "Win95_plus";
|
||||||
|
package = pkgs.callPackage ../../../Ressources/Themes/Win95_plus/win95_plus.nix {};
|
||||||
|
};
|
||||||
|
cursorTheme = {
|
||||||
|
name = "Chicago95";
|
||||||
|
package = chicago95;
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
name = "Sans";
|
||||||
|
size = 12;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.pointerCursor = {
|
||||||
|
name = "Chicago95";
|
||||||
|
package = chicago95;
|
||||||
|
size = 24;
|
||||||
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
xfce.xfce4-panel
|
||||||
|
xfce.xfconf
|
||||||
|
xfce.xfdesktop
|
||||||
|
xfce.xfce4-whiskermenu-plugin
|
||||||
|
xfce.xfce4-docklike-plugin
|
||||||
|
xorg.xrandr
|
||||||
|
];
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
"${wallpaperFile}" = {
|
||||||
|
source = wallpaperOrigin;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.configFile = {
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml".source = "${dotfiles}/xfce4-desktop.xml";
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xfce4-sessions.xml".source = "${dotfiles}/xfce4-sessions.xml";
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xsettings.xml".source = "${dotfiles}/xsettings.xml";
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml".source = "${dotfiles}/xfwm4.xml";
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml".source = "${dotfiles}/xfce4-keyboard-shortcuts.xml";
|
||||||
|
|
||||||
|
# Panel:
|
||||||
|
"xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml".source = "${dotfiles}/xfce4-panel.xml";
|
||||||
|
"xfce4/panel/launcher-13/brave.desktop".source = "${dotfiles}/launcher-13/brave.desktop";
|
||||||
|
"xfce4/panel/launcher-14/signal.desktop".source = "${dotfiles}/launcher-14/signal.desktop";
|
||||||
|
"xfce4/panel/launcher-15/obsidian.desktop".source = "${dotfiles}/launcher-15/obsidian.desktop";
|
||||||
|
"xfce4/panel/launcher-16/spotify.desktop".source = "${dotfiles}/launcher-16/spotify.desktop";
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
home.activation.applyXfceTweaks = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
|
${pkgs.xfce.xfdesktop}/bin/xfdesktop --reload
|
||||||
|
'';
|
||||||
|
}
|
||||||
58
Modules/System/common.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
host,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
|
||||||
|
# Enable Bluetooth
|
||||||
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
|
||||||
|
|
||||||
|
# Enable firmware (Intel AX200 needs firmware files from linux-firmware)
|
||||||
|
hardware.enableAllFirmware = true;
|
||||||
|
hardware.firmware = [ pkgs.linux-firmware ];
|
||||||
|
|
||||||
|
|
||||||
|
#error: The option `dconf' does not exist. Definition values:
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
networkmanager.enable = true;
|
||||||
|
hostName = host;
|
||||||
|
};
|
||||||
|
|
||||||
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "de_DE.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||||
|
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||||
|
LC_MONETARY = "de_DE.UTF-8";
|
||||||
|
LC_NAME = "de_DE.UTF-8";
|
||||||
|
LC_NUMERIC = "de_DE.UTF-8";
|
||||||
|
LC_PAPER = "de_DE.UTF-8";
|
||||||
|
LC_TELEPHONE = "de_DE.UTF-8";
|
||||||
|
LC_TIME = "de_DE.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
console.keyMap = "de";
|
||||||
|
|
||||||
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
# Sound and pipewire
|
||||||
|
services.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
10
Modules/System/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Import all modules so configuration.nix only needs to import this file
|
||||||
|
{ config, pkgs, lib, inputs, username, ... }: {
|
||||||
|
imports = [
|
||||||
|
##############
|
||||||
|
# ⚙️ Defaults #
|
||||||
|
##############
|
||||||
|
./common.nix
|
||||||
|
|
||||||
|
];
|
||||||
|
}
|
||||||
139
README.md
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
# NixOS-95
|
||||||
|
|
||||||
|
*A nostalgic Windows 95-inspired NixOS setup with modern pastel vibes.*
|
||||||
|
|
||||||
|
This is a **NixOS configuration** designed to evoke the pixel-perfect charm of **Windows 95**, infused with a clean, soft pastel aesthetic. Lightweight, customizable, and perfect for retro lovers or low-spec setups.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🖥️ System Overview
|
||||||
|
|
||||||
|
* **OS**: NixOS
|
||||||
|
* **DE**: XFCE (customized)
|
||||||
|
* **GTK Theme**: [Chicago95](https://github.com/grassmunk/Chicago95)
|
||||||
|
* **Icons & Wallpapers**: [aconfuseddragon](https://aconfuseddragon.itch.io/)
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📁 Directory Overview
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>tree .</summary>
|
||||||
|
|
||||||
|
```bash
|
||||||
|
NixOS-95/
|
||||||
|
├── flake.nix
|
||||||
|
├── flake.lock
|
||||||
|
├── Configurations/
|
||||||
|
│ └── Hosts/
|
||||||
|
│ └── Default/
|
||||||
|
│ ├── configuration.nix
|
||||||
|
│ ├── hardware-configuration.nix
|
||||||
|
│ ├── user.nix
|
||||||
|
│ ├── home/
|
||||||
|
│ │ ├── home.nix
|
||||||
|
│ │ ├── desktop.nix
|
||||||
|
│ │ └── user-packages.nix
|
||||||
|
│ └── variables/
|
||||||
|
│ ├── system-vars.nix
|
||||||
|
│ └── user-vars.nix
|
||||||
|
├── Modules/
|
||||||
|
│ ├── Applications/
|
||||||
|
│ ├── Desktops/
|
||||||
|
│ │ └── XFCE-retro/
|
||||||
|
│ │ ├── default.nix
|
||||||
|
│ │ └── Dotfiles/
|
||||||
|
│ └── System/
|
||||||
|
├── Ressources/
|
||||||
|
│ ├── Icons/
|
||||||
|
│ ├── Images/
|
||||||
|
│ │ └── Wallpapers/
|
||||||
|
│ └── Themes/
|
||||||
|
├── README.md
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Wallpaper and Aesthetics
|
||||||
|
|
||||||
|
Wallpapers are located in `./Resources/Images/Wallpapers`.
|
||||||
|
Some have been lightly edited. Originals were created by [aconfuseddragon](https://aconfuseddragon.itch.io/downloads).
|
||||||
|
|
||||||
|
> I **do not own** any of the icons or wallpapers.
|
||||||
|
> If you showcase or redistribute them, **please credit the original artists**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
> Requires a NixOS install.
|
||||||
|
|
||||||
|
1. **Clone the repository**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/peritia-system/NixOS-95.git NixOS
|
||||||
|
cd NixOS
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Regenerate hardware configuration**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nixos-generate-config --dir Configurations/Hosts/Default
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Build and switch to the system configuration**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nixos-rebuild switch --flake .#default
|
||||||
|
```
|
||||||
|
|
||||||
|
4. **Apply user settings with Home Manager**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
home-manager switch
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rebuild Notes
|
||||||
|
|
||||||
|
Due to how **Home Manager** and XFCE handle theming, changes may not fully apply on the first attempt.
|
||||||
|
|
||||||
|
**For best results:**
|
||||||
|
|
||||||
|
1. Rebuild twice
|
||||||
|
2. Log out and back in after each rebuild
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
* Pixel-style retro desktop with pastel polish
|
||||||
|
* Lightweight and XFCE-powered (great for low-spec machines)
|
||||||
|
* Flake-based configuration with easy updates
|
||||||
|
* Themed with Chicago95 and matching icon set
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Showcase
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>More Screenshots</summary>
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Final Thoughts
|
||||||
|
|
||||||
|
This setup was built for my boyfriend to use during school.
|
||||||
|
I love how this setup turned out—it's nostalgic and clean, so I wanted to give more people the opportunity to use it.
|
||||||
|
Hope you enjoy it!
|
||||||
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/3d_graphics_file.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/Home.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/aseprite.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/aseprite_file.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/audio_editor.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/audio_file.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/audio_music_file.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/brave-browser.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/brave.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/briefcase.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/calculator.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/calendar.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/camera.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/cd_drive.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/chrome.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/clock.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/contact_book.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/discord.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/drive.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/firefox.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/flop_drive.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/folder_closed.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/folder_dark.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/folder_open.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/games.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/gihtub.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/gwenview.png
Normal file
|
After Width: | Height: | Size: 8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/image_editor.png
Normal file
|
After Width: | Height: | Size: 8 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/image_file.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/krita.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/libreoffice-calc.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/mail.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/microphone.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/minecraft.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/movies.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/mpv.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/music.png
Normal file
|
After Width: | Height: | Size: 9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/news.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/notepad.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/obsidian.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/okular.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/paint.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/paint_alt.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/parsec.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/password_manager.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/phone.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/printer.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/prismlauncher.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/program.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/proton-vpn-logo.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/protonvpn-app.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/protonvpn.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/recycle_bin.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/recycle_bin_full.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
Ressources/Icons/Win95_plus/1024x1024/apps/script_file.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |