mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-15 09:17:31 -08:00
general clean-up
This commit is contained in:
parent
e4d34217ce
commit
887015dd84
@ -9,9 +9,6 @@
|
|||||||
networking.firewall.checkReversePath = "loose";
|
networking.firewall.checkReversePath = "loose";
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Secrets
|
# Secrets
|
||||||
age.secrets."wireguard/bulwark".file = ../../secrets/wireguard/bulwark.age;
|
age.secrets."wireguard/bulwark".file = ../../secrets/wireguard/bulwark.age;
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
services.xserver.displayManager.gdm.enable = lib.mkForce false;
|
services.xserver.displayManager.gdm.enable = lib.mkForce false;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
jupiter-dock-updater-bin # Binary package for updating firmware on Jupiter Dock, a hardware accessory for certain laptops.
|
jupiter-dock-updater-bin # Binary package for updating firmware on Jupiter Dock, a hardware accessory for certain laptops
|
||||||
steamdeck-firmware # Firmware package for Valve's Steam Deck, a handheld gaming device.
|
steamdeck-firmware # Firmware package for Valve's Steam Deck, a handheld gaming device
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -26,9 +26,6 @@
|
|||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Secrets
|
# Secrets
|
||||||
age.secrets."wireguard/kestrel".file = ../../secrets/wireguard/kestrel.age;
|
age.secrets."wireguard/kestrel".file = ../../secrets/wireguard/kestrel.age;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, user, home-manager, ... }:
|
{ config, lib, pkgs, user, home-manager, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnomeExtensions.executor # Execute shell commands display output top bar.
|
gnomeExtensions.executor # Execute shell commands display output top bar
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ config, pkgs, user, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Use performance governor for sweet gaming performance!
|
# Use performance governor for sweet gaming performance!
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ config, pkgs, user, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Use performance governor for sweet gaming performance!
|
# Use performance governor for sweet gaming performance!
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
@ -15,9 +12,6 @@
|
|||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
];
|
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ config, pkgs, user, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules
|
|
||||||
./wireguard-server.nix
|
./wireguard-server.nix
|
||||||
./samba-server.nix
|
./samba-server.nix
|
||||||
./rss.nix
|
./rss.nix
|
||||||
@ -38,9 +37,6 @@
|
|||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
];
|
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "starrtyler88@gmail.com";
|
defaults.email = "starrtyler88@gmail.com";
|
||||||
|
@ -36,8 +36,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ 445 139 ];
|
networking.firewall.allowedTCPPorts = [ 445 139 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 137 138 ];
|
networking.firewall.allowedUDPPorts = [ 137 138 ];
|
||||||
|
|
||||||
# To make SMB mounting easier on the command line
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares.
|
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -12,15 +12,15 @@ in {
|
|||||||
options.modules.desktop.enable = lib.mkEnableOption "desktop";
|
options.modules.desktop.enable = lib.mkEnableOption "desktop";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bc # Arbitrary-precision arithmetic language.
|
bc # Arbitrary-precision arithmetic language
|
||||||
gamemode # Optimizes system performance for gaming by adjusting system settings.
|
gamemode # Optimizes system performance for gaming by adjusting system settings
|
||||||
vesktop # Voice, video, and text communication platform for communities and friends.
|
vesktop # Voice, video, and text communication platform for communities and friends
|
||||||
inkscape # Vector graphics editor for creating illustrations, icons, logos, diagrams, and more.
|
inkscape # Vector graphics editor for creating illustrations, icons, logos, diagrams, and more
|
||||||
libreoffice-fresh # Office suite compatible with Microsoft Office.
|
libreoffice-fresh # Office suite compatible with Microsoft Office
|
||||||
xournal # Note-taking and sketching application.
|
xournal # Note-taking and sketching application
|
||||||
mpv # Media player for playing audio and video files.
|
mpv # Media player for playing audio and video files
|
||||||
p7zip # Command-line file archiver with high compression ratio.
|
p7zip # Command-line file archiver with high compression ratio
|
||||||
gimp # GNU Image Manipulation Program for editing and composing raster images.
|
gimp # GNU Image Manipulation Program for editing and composing raster images
|
||||||
];
|
];
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
@ -214,7 +214,7 @@ in {
|
|||||||
};
|
};
|
||||||
} // generate_custom_keybindings {
|
} // generate_custom_keybindings {
|
||||||
"terminal" = { binding = "<Super><Control>Return"; command = "kitty"; name = "Open Terminal"; };
|
"terminal" = { binding = "<Super><Control>Return"; command = "kitty"; name = "Open Terminal"; };
|
||||||
"browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"; name = "Open Browser"; };
|
"browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable"; name = "Open Browser"; };
|
||||||
"steam" = { binding = "<Super><Control>s"; command = "steam"; name = "Open Steam"; };
|
"steam" = { binding = "<Super><Control>s"; command = "steam"; name = "Open Steam"; };
|
||||||
"vesktop" = { binding = "<Super><Control>d"; command = "vesktop"; name = "Open Vesktop"; };
|
"vesktop" = { binding = "<Super><Control>d"; command = "vesktop"; name = "Open Vesktop"; };
|
||||||
"nautilus" = { binding = "<Super><Control>f"; command = "nautilus"; name = "Open File Manager"; };
|
"nautilus" = { binding = "<Super><Control>f"; command = "nautilus"; name = "Open File Manager"; };
|
||||||
|
@ -5,8 +5,11 @@ in {
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
|
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
|
||||||
ifuse # fuse filesystem implementation to access the contents of iOS devices
|
ifuse # Fuse filesystem implementation to access the contents of iOS devices
|
||||||
pySVS # control SVS subwoofers from the command-line
|
opensc # Open source smart card tools and middleware
|
||||||
|
pcsc-tools # Tools are used to test a PC/SC drivers
|
||||||
|
pkcs11helper # Library that simplifies the interaction with PKCS#11
|
||||||
|
pySVS # Control SVS subwoofers from the command-line
|
||||||
(pkgs.writeScriptBin "sv" ''
|
(pkgs.writeScriptBin "sv" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pySVS 54:B7:E5:57:1A:7B --volume="$1" && echo "$1" > /tmp/svs
|
pySVS 54:B7:E5:57:1A:7B --volume="$1" && echo "$1" > /tmp/svs
|
||||||
@ -15,9 +18,6 @@ in {
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pySVS 54:B7:E5:57:1A:7B --volume=A | grep -oP "(?<=VOLUME': )-?\\d+" > /tmp/svs
|
pySVS 54:B7:E5:57:1A:7B --volume=A | grep -oP "(?<=VOLUME': )-?\\d+" > /tmp/svs
|
||||||
'')
|
'')
|
||||||
opensc # Open source smart card tools and middleware
|
|
||||||
pcsc-tools # Tools are used to test a PC/SC drivers
|
|
||||||
pkcs11helper # Library that simplifies the interaction with PKCS#11
|
|
||||||
];
|
];
|
||||||
services.usbmuxd.enable = true; # for iOS mounting as storage
|
services.usbmuxd.enable = true; # for iOS mounting as storage
|
||||||
};
|
};
|
||||||
|
@ -5,10 +5,10 @@ in {
|
|||||||
options.modules.devel.engineering.enable = lib.mkEnableOption "engineering";
|
options.modules.devel.engineering.enable = lib.mkEnableOption "engineering";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
blender # Open-source 3D creation suite for modeling, animation, rendering, and more.
|
blender # Open-source 3D creation suite for modeling, animation, rendering, and more
|
||||||
freecad # Open-source parametric 3D CAD modeler.
|
freecad # Open-source parametric 3D CAD modeler
|
||||||
openscad # Open-source script-only based modeller.
|
openscad # Open-source script-only based modeller
|
||||||
prusa-slicer # Slicing software optimized for Prusa 3D printers, offering user-friendly interface and settings.
|
prusa-slicer # Slicing software optimized for Prusa 3D printers, offering user-friendly interface and settings
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,8 @@ in {
|
|||||||
options.modules.devel.notes.enable = lib.mkEnableOption "notes";
|
options.modules.devel.notes.enable = lib.mkEnableOption "notes";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
obsidian # Note-taking and knowledge management application.
|
obsidian # Note-taking and knowledge management application
|
||||||
pandoc # Universal document converter.
|
pandoc # Universal document converter
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,19 +5,20 @@ in {
|
|||||||
options.modules.gaming.emulation.enable = lib.mkEnableOption "emulation";
|
options.modules.gaming.emulation.enable = lib.mkEnableOption "emulation";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ryujinx # Fuck Nintendo!
|
ryujinx # Fuck Nintendo
|
||||||
sudachi # Nintendo Switch emulator written in C++.
|
yuzu # Fuck Nintendo again
|
||||||
yuzu # Fuck Nintendo!
|
sudachi # Nintendo Switch emulator written in C++
|
||||||
dolphin-emu # GameCube and Wii emulator.
|
dolphin-emu # GameCube and Wii emulator
|
||||||
ppsspp # PSP emulator.
|
ppsspp # PSP emulator
|
||||||
mgba # Game Boy Advance emulator.
|
mgba # Game Boy Advance emulator
|
||||||
|
rpcs3 # PS3 emulator/debugger
|
||||||
(retroarch.override {
|
(retroarch.override {
|
||||||
cores = with libretro; [
|
cores = with libretro; [
|
||||||
nestopia # Nintendo Entertainment System (NES) emulator.
|
nestopia # Nintendo Entertainment System (NES) emulator
|
||||||
snes9x # Super Nintendo Entertainment System (SNES) emulator.
|
snes9x # Super Nintendo Entertainment System (SNES) emulator
|
||||||
mgba # Game Boy Advance emulator.
|
mgba # Game Boy Advance emulator
|
||||||
melonds # Nintendo DS emulator.
|
melonds # Nintendo DS emulator
|
||||||
citra # Fuck Nintendo!
|
citra # Fuck Nintendo a third time
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -5,8 +5,8 @@ in {
|
|||||||
options.modules.gaming.minecraft.enable = lib.mkEnableOption "minecraft";
|
options.modules.gaming.minecraft.enable = lib.mkEnableOption "minecraft";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
jdk17 # Java Development Kit (JDK) version 17.
|
jdk17 # Java Development Kit (JDK) version 17
|
||||||
prismlauncher # Launcher for Prism, a web application framework.
|
prismlauncher # Launcher for Prism, a web application framework
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,18 +5,18 @@ in {
|
|||||||
options.modules.gaming.steam.enable = lib.mkEnableOption "steam";
|
options.modules.gaming.steam.enable = lib.mkEnableOption "steam";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility.
|
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility
|
||||||
mangohud # Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.
|
mangohud # Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
|
||||||
steamtinkerlaunch # Launcher and optimization tool for Steam games.
|
steamtinkerlaunch # Launcher and optimization tool for Steam games
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.graphics.enable = true; # this fixes the "glXChooseVisual failed" bug, context: https://github.com/NixOS/nixpkgs/issues/47932
|
hardware.graphics.enable = true; # https://github.com/NixOS/nixpkgs/issues/47932
|
||||||
hardware.pulseaudio.support32Bit = config.hardware.pulseaudio.enable; # Enable 32bit pulseaudio support if pulseaudio is enabled
|
hardware.pulseaudio.support32Bit = config.hardware.pulseaudio.enable;
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = with pkgs; steam.override { extraPkgs = pkgs: [ attr ]; }; # Workaround from: https://github.com/NixOS/nixpkgs/issues/236561
|
package = with pkgs; steam.override { extraPkgs = pkgs: [ attr ]; }; # https://github.com/NixOS/nixpkgs/issues/236561
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,7 @@ in {
|
|||||||
services.dbus.packages = [ pkgs.appgate-sdp ];
|
services.dbus.packages = [ pkgs.appgate-sdp ];
|
||||||
systemd = {
|
systemd = {
|
||||||
packages = [ pkgs.appgate-sdp ];
|
packages = [ pkgs.appgate-sdp ];
|
||||||
# https://github.com/NixOS/nixpkgs/issues/81138
|
services.appgatedriver.wantedBy = [ "multi-user.target" ]; # https://github.com/NixOS/nixpkgs/issues/81138
|
||||||
services.appgatedriver.wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11,28 +11,28 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
killall # Command-line utility to terminate processes by name.
|
killall # Command-line utility to terminate processes by name
|
||||||
pciutils # Utilities for inspecting and manipulating devices connected to the PCI bus.
|
pciutils # Utilities for inspecting and manipulating devices connected to the PCI bus
|
||||||
btop # Terminal-based resource monitor, providing an interactive view of system resources.
|
btop # Terminal-based resource monitor, providing an interactive view of system resources
|
||||||
nix-search-cli # Command-line utility for searching the Nix package repository.
|
nix-search-cli # Command-line utility for searching the Nix package repository
|
||||||
rbw # Command-line interface to the Bitwarden password manager.
|
rbw # Command-line interface to the Bitwarden password manager
|
||||||
pinentry-curses # Simple curses-based passphrase entry dialog for GnuPG.
|
pinentry-curses # Simple curses-based passphrase entry dialog for GnuPG
|
||||||
bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems.
|
bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems
|
||||||
bash-completion # Provides programmable completion for the bash shell.
|
bash-completion # Provides programmable completion for the bash shell
|
||||||
tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window.
|
tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window
|
||||||
thefuck # Corrects errors in previous console commands.
|
thefuck # Corrects errors in previous console commands
|
||||||
nnn # Terminal file manager with a focus on performance and ease of use.
|
nnn # Terminal file manager with a focus on performance and ease of use
|
||||||
advcpmv # Advanced version of the Unix utilities cp and mv.
|
advcpmv # Advanced version of the Unix utilities cp and mv
|
||||||
unzip # Command-line utility for extracting files from ZIP archives.
|
unzip # Command-line utility for extracting files from ZIP archives
|
||||||
trash-cli # Command-line interface to the freedesktop.org Trash.
|
trash-cli # Command-line interface to the freedesktop.org Trash
|
||||||
vim # Text editor that is highly configurable and widely used, especially in the Unix environment.
|
vim # Text editor that is highly configurable and widely used, especially in the Unix environment
|
||||||
nodejs # JavaScript runtime built on Chrome's V8 JavaScript engine.
|
nodejs # JavaScript runtime built on Chrome's V8 JavaScript engine
|
||||||
ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern.
|
ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern
|
||||||
cargo # Package manager and build system for Rust.
|
cargo # Package manager and build system for Rust
|
||||||
docker-compose # Docker CLI plugin to define and run multi-container applications with Docker.
|
docker-compose # Docker CLI plugin to define and run multi-container applications with Docker
|
||||||
sesh # Smart session manager for the terminal.
|
sesh # Smart session manager for the terminal
|
||||||
zoxide # Fast cd command that learns your habits.
|
zoxide # Fast cd command that learns your habits
|
||||||
fzf # Command-line fuzzy finder for Unix-like operating systems.
|
fzf # Command-line fuzzy finder for Unix-like operating systems
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,8 @@ in {
|
|||||||
options.modules.programs.beancount.enable = lib.mkEnableOption "beancount";
|
options.modules.programs.beancount.enable = lib.mkEnableOption "beancount";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
fava # Web interface for the double-entry bookkeeping software Beancount.
|
fava # Web interface for the double-entry bookkeeping software Beancount
|
||||||
beancount # Double-entry bookkeeping software for tracking financial transactions.
|
beancount # Double-entry bookkeeping software for tracking financial transactions
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ in {
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
borgbackup # Deduplicating backup program
|
borgbackup # Deduplicating backup program
|
||||||
tree
|
tree # Command to produce a depth indented directory listing
|
||||||
(pkgs.writeScriptBin "stop-docker-containers" ''
|
(pkgs.writeScriptBin "stop-docker-containers" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -e /tmp/docker_images ] && rm /tmp/docker_images
|
[ -e /tmp/docker_images ] && rm /tmp/docker_images
|
||||||
|
@ -15,9 +15,8 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
chezmoi
|
chezmoi # Manage your dotfiles across multiple machines, securely
|
||||||
];
|
];
|
||||||
# Optionally apply chezmoi dotfiles with home-manager activation
|
|
||||||
home-manager.users.${user} = lib.mkIf cfg.apply {
|
home-manager.users.${user} = lib.mkIf cfg.apply {
|
||||||
home.activation.chezmoi = home-manager.lib.hm.dag.entryAfter [ "installPackages" ] ''
|
home.activation.chezmoi = home-manager.lib.hm.dag.entryAfter [ "installPackages" ] ''
|
||||||
_saved_path=$PATH
|
_saved_path=$PATH
|
||||||
|
@ -12,7 +12,7 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf (cfg1.enable && cfg2.enable) {
|
config = lib.mkIf (cfg1.enable && cfg2.enable) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
google-chrome # Web browser developed by Google.
|
google-chrome # Web browser developed by Google
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
|
@ -15,9 +15,9 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git # Version control system for tracking changes in source code during software development.
|
git # Version control system for tracking changes in source code during software development
|
||||||
git-annex # Manages files with git, without checking the file contents into git.
|
git-annex # Manages files with git, without checking the file contents into git
|
||||||
lazygit # Terminal-based GUI for git, making it easier to use and visualize git repositories.
|
lazygit # Terminal-based GUI for git, making it easier to use and visualize git repositories
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets."git/github_personal" = lib.mkIf cfg.keys {
|
age.secrets."git/github_personal" = lib.mkIf cfg.keys {
|
||||||
|
@ -11,8 +11,8 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim # Fork of Vim aiming to improve extensibility and usability.
|
neovim # Fork of Vim aiming to improve extensibility and usability
|
||||||
pyright # Latest version of the Pyright package, a static type checker for Python.
|
pyright # Latest version of the Pyright package, a static type checker for Python
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ in {
|
|||||||
options.modules.programs.virt-manager.enable = lib.mkEnableOption "virt-manager";
|
options.modules.programs.virt-manager.enable = lib.mkEnableOption "virt-manager";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
virt-manager # Desktop application for managing virtual machines through libvirt.
|
virt-manager # Desktop application for managing virtual machines through libvirt
|
||||||
];
|
];
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
@ -11,7 +11,7 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
yt-dlp
|
yt-dlp # Command-line tool to download videos
|
||||||
(pkgs.writeScriptBin "ytd_audio" ''
|
(pkgs.writeScriptBin "ytd_audio" ''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
yt-dlp -x \
|
yt-dlp -x \
|
||||||
|
@ -5,7 +5,7 @@ in {
|
|||||||
options.modules.services.samba-client.enable = lib.mkEnableOption "samba-client";
|
options.modules.services.samba-client.enable = lib.mkEnableOption "samba-client";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares.
|
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 445 139 ];
|
networking.firewall.allowedTCPPorts = [ 445 139 ];
|
||||||
|
@ -26,7 +26,7 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
syncthing # File sync program for multiple devices in real-time.
|
syncthing # File sync program for multiple devices in real-time
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
||||||
@ -51,7 +51,7 @@ in {
|
|||||||
guiAddress = "0.0.0.0:8384";
|
guiAddress = "0.0.0.0:8384";
|
||||||
key = "/run/agenix/syncthing/key.pem";
|
key = "/run/agenix/syncthing/key.pem";
|
||||||
cert = "/run/agenix/syncthing/cert.pem";
|
cert = "/run/agenix/syncthing/cert.pem";
|
||||||
overrideFolders = false; # don't delete user add folders
|
overrideFolders = false; # don't delete user added folders
|
||||||
settings.devices = cfg.devices;
|
settings.devices = cfg.devices;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
self: super: {
|
self: super: {
|
||||||
gnome = super.gnome.overrideScope (gnomeFinal: gnomePrev: {
|
gnome = super.gnome.overrideScope (gnomeFinal: gnomePrev: {
|
||||||
mutter = gnomePrev.mutter.overrideAttrs ( old: {
|
mutter = gnomePrev.mutter.overrideAttrs ( old: {
|
||||||
src = super.fetchgit {
|
src = super.fetchgit {
|
||||||
url = "https://gitlab.gnome.org/vanvugt/mutter.git";
|
url = "https://gitlab.gnome.org/vanvugt/mutter.git";
|
||||||
# GNOME 46: triple-buffering-v4-46
|
# GNOME 46: triple-buffering-v4-46
|
||||||
rev = "94f500589efe6b04aa478b3df8322eb81307d89f";
|
rev = "94f500589efe6b04aa478b3df8322eb81307d89f";
|
||||||
sha256 = "sha256-fkPjB/5DPBX06t7yj0Rb3UEuu5b9mu3aS+jhH18+lpI=";
|
sha256 = "sha256-fkPjB/5DPBX06t7yj0Rb3UEuu5b9mu3aS+jhH18+lpI=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
self: super: {
|
self: super: {
|
||||||
nnn = super.nnn.override { withNerdIcons = true; };
|
nnn = super.nnn.override { withNerdIcons = true; };
|
||||||
}
|
}
|
||||||
|
@ -20,4 +20,3 @@ for information on initial installation.
|
|||||||
| <img src="./resources/img/ships/bulwark.png" width="100"> | [Bulwark](./provision/hosts/bulwark/) | Steam Deck | NixOS based Steam Deck that can has my linux niceties and acts like a Steam Deck using the great [Jovian Nixos](https://github.com/Jovian-Experiments/Jovian-NixOS). |
|
| <img src="./resources/img/ships/bulwark.png" width="100"> | [Bulwark](./provision/hosts/bulwark/) | Steam Deck | NixOS based Steam Deck that can has my linux niceties and acts like a Steam Deck using the great [Jovian Nixos](https://github.com/Jovian-Experiments/Jovian-NixOS). |
|
||||||
| <img src="./resources/img/ships/shivan.png" width="100"> | [Shivan](./provision/hosts/shivan/) | Personal Laptop | Personal (and very slow) laptop for basic mobile work. |
|
| <img src="./resources/img/ships/shivan.png" width="100"> | [Shivan](./provision/hosts/shivan/) | Personal Laptop | Personal (and very slow) laptop for basic mobile work. |
|
||||||
| <img src="./resources/img/ships/osprey.png" width="100"> | [Osprey](./provision/hosts/osprey/) | Secondary desktop | Secondary desktop used for code development. |
|
| <img src="./resources/img/ships/osprey.png" width="100"> | [Osprey](./provision/hosts/osprey/) | Secondary desktop | Secondary desktop used for code development. |
|
||||||
| | [WSL](./provision/hosts/wsl/) | WSL rootfs | Some nix goodness when I'm forced to use windows. |
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user