Gen 444: Consolidated desktop/laptop configs into one, differing options are declared in hosts folder

This commit is contained in:
pagedMov
2024-10-13 01:31:11 -04:00
parent 07cb5136ee
commit 1379e5a8ef
145 changed files with 21 additions and 4215 deletions

View File

@@ -0,0 +1,9 @@
{ pkgs, ... }:
{
fonts.packages = with pkgs; [
times-newer-roman
nerdfonts
jetbrains-mono
];
}

View File

@@ -0,0 +1,73 @@
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
alsa-lib
alsa-utils
bc
cava
clang
clang-tools
cmake
fail2ban
feh
ffmpeg-full
fuse
fzf
git
gnumake
gst_all_1.gstreamer
htop
hyprland
hyprland-workspaces
hyprpaper
hyprpicker
imagemagick
inetutils
kitty
libclang
libcxx
lolcat
lsof
lua-language-server
luarocks
mesa
mpd
mullvad
neofetch
nix-index
nix-prefetch-scripts
nixos-option
nix-search-cli
openssl
p7zip
jq
pamixer
parted
pass
pavucontrol
pkg-config
playerctl
protonmail-bridge
protontricks
pyright
quintom-cursor-theme
socat
sox
stress
tor
tree
unrar
unzip
usbutils
vim
vscode-langservers-extracted
vulkan-loader
wget
wine
wl-clipboard
xpad
libnotify
file
];
}

View File

@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
programs = {
steam.enable = true;
hyprland.enable = true;
zsh.enable = true;
nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
ffmpeg-full
];
};
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
}

View File

@@ -0,0 +1,18 @@
{ pkgs, ...}:
{
services = {
pipewire = {
enable = true;
pulse.enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
udev.enable = true;
dbus.enable = true;
mullvad-vpn.enable = true;
blueman.enable = true;
openssh.enable = true;
};
}

View File

@@ -0,0 +1,37 @@
{ config, inputs, pkgs, username, self, ... }:
let
nur = config.nur;
in
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "backup";
extraSpecialArgs = { inherit self inputs username nur; };
users.${username} = {
programs.home-manager.enable = true;
imports = [ ./../../home ];
home = {
username = "${username}";
homeDirectory = "/home/${username}";
stateVersion = "24.05";
pointerCursor = {
name = "Quintom_Ink";
size = 36;
package = pkgs.quintom-cursor-theme;
};
};
};
};
users.users.${username} = {
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" ];
};
security.sudo.extraConfig = ''
${username} ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
'';
nix.settings.allowed-users = [ "${username}" ];
}