mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
big great refactor
This commit is contained in:
1 parent
596bcb4a94
commit
5a7501eec0
73 files changed
+537
-644
No files matched your search
Executable
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ehci_pci"
|
||||
"ahci"
|
||||
"usb_storage"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-intel"
|
||||
"ntsync"
|
||||
"hfsplus"
|
||||
];
|
||||
boot.supportedFilesystems = [
|
||||
"hfsplus"
|
||||
"exfat"
|
||||
];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/ebf71dbc-969e-4613-9117-78b4c62e7216";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/HDD/shared" = {
|
||||
device = "/dev/disk/by-uuid/69F3-C5FB";
|
||||
fsType = "exfat";
|
||||
options = [
|
||||
"defaults"
|
||||
"nofail"
|
||||
"x-systemd.automount"
|
||||
"uid=1000"
|
||||
"gid=100"
|
||||
"umask=022"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/HDD/linuxdata" = {
|
||||
device = "/dev/disk/by-uuid/f7e27b90-ce06-48bb-b579-d93b1398b21f";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"defaults"
|
||||
"nofail"
|
||||
"x-systemd.automount"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/72CC-9AE7";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
packages = import ./packages.nix { inherit pkgs inputs system; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
../../modules/nixos
|
||||
];
|
||||
|
||||
elars.hardware.graphics.driver = "intel";
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
algorithm = "zstd";
|
||||
priority = 100;
|
||||
};
|
||||
environment.systemPackages = packages.system;
|
||||
environment.pathsToLink = [
|
||||
"/share/applications"
|
||||
"/share/icons"
|
||||
"/share/mime"
|
||||
];
|
||||
}
|
||||
Executable
+169
@@ -0,0 +1,169 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
}:
|
||||
|
||||
let
|
||||
uxplay-fixed = pkgs.uxplay.override {
|
||||
avahi = pkgs.avahi.override { withLibdnssdCompat = true; };
|
||||
};
|
||||
in
|
||||
with pkgs;
|
||||
{
|
||||
system = [
|
||||
# apps
|
||||
onlyoffice-desktopeditors
|
||||
whatsapp-electron
|
||||
pkgs.ghostty_git
|
||||
telegram-desktop
|
||||
discord-canary
|
||||
prismlauncher
|
||||
qbittorrent
|
||||
antigravity
|
||||
localsend
|
||||
spotatui
|
||||
picotool
|
||||
blender
|
||||
heroic
|
||||
loupe
|
||||
wine
|
||||
|
||||
# qol-hyprland
|
||||
wl-clipboard
|
||||
wf-recorder
|
||||
obs-studio
|
||||
tesseract
|
||||
mpvpaper
|
||||
swappy
|
||||
slurp
|
||||
grim
|
||||
|
||||
#thunar tools
|
||||
thunar-media-tags-plugin
|
||||
thunar-archive-plugin
|
||||
ffmpegthumbnailer
|
||||
thunar-volman
|
||||
tumbler
|
||||
thunar
|
||||
|
||||
# phone
|
||||
kdePackages.krdp
|
||||
libimobiledevice
|
||||
android-tools
|
||||
uxplay-fixed
|
||||
usbmuxd
|
||||
libmtp
|
||||
jmtpfs
|
||||
scrcpy
|
||||
ifuse
|
||||
|
||||
# cli
|
||||
github-copilot-cli
|
||||
fastfetch
|
||||
trash-cli
|
||||
xdg-utils
|
||||
dos2unix
|
||||
autossh
|
||||
ani-cli
|
||||
zoxide
|
||||
cachix
|
||||
direnv
|
||||
rsync
|
||||
unzip
|
||||
kitty
|
||||
tree
|
||||
tldr
|
||||
wget
|
||||
fish
|
||||
htop
|
||||
btop
|
||||
zip
|
||||
eza
|
||||
bat
|
||||
git
|
||||
rar
|
||||
jq
|
||||
fd
|
||||
|
||||
# hardware
|
||||
gpu-screen-recorder
|
||||
intel-gpu-tools
|
||||
smartmontools
|
||||
brightnessctl
|
||||
gsmartcontrol
|
||||
vulkan-tools
|
||||
libva-utils
|
||||
mesa-demos
|
||||
lm_sensors
|
||||
exfatprogs
|
||||
libsecret
|
||||
gptfdisk
|
||||
usbutils
|
||||
hfsprogs
|
||||
dmg2img
|
||||
ddcutil
|
||||
clinfo
|
||||
hidapi
|
||||
parted
|
||||
p7zip
|
||||
xar
|
||||
|
||||
# themes/icons
|
||||
papirus-icon-theme
|
||||
adwaita-icon-theme
|
||||
gnome-themes-extra
|
||||
hicolor-icon-theme
|
||||
gnome-icon-theme
|
||||
tango-icon-theme
|
||||
arc-icon-theme
|
||||
bibata-cursors
|
||||
adwaita-qt6
|
||||
adwaita-qt
|
||||
|
||||
# langs
|
||||
binutils
|
||||
python3
|
||||
rustup
|
||||
gcc
|
||||
ghc
|
||||
go
|
||||
zig
|
||||
lua
|
||||
glm
|
||||
|
||||
# dev tools
|
||||
cargo-tauri
|
||||
pkg-config
|
||||
gnumake
|
||||
openssl
|
||||
nixfmt
|
||||
sqlite
|
||||
aubio
|
||||
trunk
|
||||
nil
|
||||
uv
|
||||
|
||||
# editors
|
||||
zed-editor
|
||||
neovim
|
||||
vscode
|
||||
|
||||
# media
|
||||
imagemagick
|
||||
pavucontrol
|
||||
playerctl
|
||||
pamixer
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
cava
|
||||
mpv
|
||||
|
||||
inputs.zen-browser.packages.${system}.default
|
||||
inputs.noctalia.packages.${system}.default
|
||||
inputs.copetch.packages.${system}.default
|
||||
inputs.helium.packages.${system}.default
|
||||
pkgs.qt6Packages.qtwebsockets
|
||||
pkgs.evil-helix_git
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user