Compare commits
30 Commits
2e7541e5c3
...
dendritic
| Author | SHA1 | Date | |
|---|---|---|---|
| 75f0e2993f | |||
| 36f5d5cdd7 | |||
| 0630db91fb | |||
| 13119c8f7b | |||
| b4350f2dae | |||
| 3609e42d8f | |||
| 8b04d1763e | |||
| 4fd7db083b | |||
| 3644a0f265 | |||
| f08555296c | |||
| 44404e02a0 | |||
| 65e5fd2d99 | |||
| ddb1d3c8d2 | |||
| e7b1f5acaf | |||
| 8f97b6ff34 | |||
| 2a0fbdcd16 | |||
| 7c74a61821 | |||
| 1862996855 | |||
| f7058034fe | |||
| f49745b4e4 | |||
| 1a656d3231 | |||
| c0993eb22f | |||
| e252ee0613 | |||
| 783a29e700 | |||
| 134914f561 | |||
| 2f7142135f | |||
| 38f6ec8305 | |||
| 3dadc29a37 | |||
| 48535bb6d4 | |||
| 087a924e5a |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
.session
|
.session
|
||||||
modules/chataigne/squashfs-root
|
/nixos.qcow2
|
||||||
|
/result
|
||||||
|
|||||||
@@ -1,326 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
/etc/nixos/hardware-configuration.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# Nix settings
|
|
||||||
## Limit Cores on rebuild and enable Flakes
|
|
||||||
nix.settings = {
|
|
||||||
cores = 6;
|
|
||||||
download-buffer-size = 524288000;
|
|
||||||
experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
## Allow unfree packages and add pkgs.unstable
|
|
||||||
nixpkgs = {
|
|
||||||
config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
packageOverrides = pkgs: {
|
|
||||||
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {
|
|
||||||
config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
## Optimise Nix store on rebuild and collect garbage as a service
|
|
||||||
nix.optimise.automatic = true;
|
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "daily";
|
|
||||||
options = "--delete-older-than 5d";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Bootloader theming and plymouth
|
|
||||||
boot = {
|
|
||||||
loader = {
|
|
||||||
timeout = 2;
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = true;
|
|
||||||
};
|
|
||||||
grub = {
|
|
||||||
efiSupport = true;
|
|
||||||
device = "nodev";
|
|
||||||
theme = pkgs.catppuccin-grub;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
plymouth = {
|
|
||||||
enable = true;
|
|
||||||
theme = "catppuccin-mocha";
|
|
||||||
themePackages = with pkgs; [
|
|
||||||
# By default we would install all themes
|
|
||||||
(catppuccin-plymouth.override {
|
|
||||||
variant = "mocha";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
## Use latest kernel
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
# Bluetooth and Networking
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
hardware.xpadneo.enable = true;
|
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
networking.networkmanager.dns = "none";
|
|
||||||
networking.nameservers = [
|
|
||||||
"1.1.1.1"
|
|
||||||
"8.8.8.8"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Locale
|
|
||||||
time.timeZone = "Europe/London";
|
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
|
||||||
i18n.extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "en_GB.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "en_GB.UTF-8";
|
|
||||||
LC_MEASUREMENT = "en_GB.UTF-8";
|
|
||||||
LC_MONETARY = "en_GB.UTF-8";
|
|
||||||
LC_NAME = "en_GB.UTF-8";
|
|
||||||
LC_NUMERIC = "en_GB.UTF-8";
|
|
||||||
LC_PAPER = "en_GB.UTF-8";
|
|
||||||
LC_TELEPHONE = "en_GB.UTF-8";
|
|
||||||
LC_TIME = "en_GB.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Userspace Stuff
|
|
||||||
## Keymap
|
|
||||||
services.xserver.xkb = {
|
|
||||||
layout = "gb";
|
|
||||||
variant = "";
|
|
||||||
};
|
|
||||||
console.keyMap = "uk";
|
|
||||||
|
|
||||||
## Desktop
|
|
||||||
services.xserver.enable = true;
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.unstable.hyprland;
|
|
||||||
};
|
|
||||||
security.polkit.enable = true;
|
|
||||||
|
|
||||||
## Audio Server
|
|
||||||
services.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Local User
|
|
||||||
## User config
|
|
||||||
users.users.user01 = {
|
|
||||||
isNormalUser = true;
|
|
||||||
shell = pkgs.zsh;
|
|
||||||
description = "user01";
|
|
||||||
extraGroups = [
|
|
||||||
"input"
|
|
||||||
"root"
|
|
||||||
"plugdev"
|
|
||||||
"bluetooth"
|
|
||||||
"networkmanager"
|
|
||||||
"docker"
|
|
||||||
"wheel"
|
|
||||||
];
|
|
||||||
packages =
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
input =
|
|
||||||
{
|
|
||||||
package,
|
|
||||||
output ? "default",
|
|
||||||
}:
|
|
||||||
inputs.${package}.packages.${pkgs.stdenv.hostPlatform.system}.${output};
|
|
||||||
wrap =
|
|
||||||
{
|
|
||||||
name,
|
|
||||||
pkg,
|
|
||||||
modules,
|
|
||||||
}:
|
|
||||||
pkgs.symlinkJoin {
|
|
||||||
inherit name;
|
|
||||||
paths = [ pkg ];
|
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
|
||||||
postBuild = ''
|
|
||||||
wrapProgram $out/bin/${name} \
|
|
||||||
--prefix PATH : ${pkgs.lib.makeBinPath modules}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
[
|
|
||||||
# Ricing
|
|
||||||
## Desktop
|
|
||||||
bibata-cursors
|
|
||||||
catppuccin-gtk
|
|
||||||
waybar
|
|
||||||
hyprlock
|
|
||||||
dunst
|
|
||||||
wlogout
|
|
||||||
wpaperd
|
|
||||||
|
|
||||||
## Desktop Utilities
|
|
||||||
grimblast
|
|
||||||
gsettings-desktop-schemas
|
|
||||||
wl-clipboard
|
|
||||||
(wrap {
|
|
||||||
name = "otter-launcher";
|
|
||||||
pkg = (
|
|
||||||
input {
|
|
||||||
package = "otter-launcher";
|
|
||||||
}
|
|
||||||
);
|
|
||||||
modules = [
|
|
||||||
chafa
|
|
||||||
jq
|
|
||||||
];
|
|
||||||
})
|
|
||||||
(input { package = "fsel"; })
|
|
||||||
|
|
||||||
# Terminal
|
|
||||||
## Styling / Functionality
|
|
||||||
oh-my-posh
|
|
||||||
carapace
|
|
||||||
zsh-autocomplete
|
|
||||||
bat
|
|
||||||
|
|
||||||
## Tools
|
|
||||||
lazygit
|
|
||||||
p7zip-rar
|
|
||||||
any-nix-shell
|
|
||||||
dysk
|
|
||||||
bluetui
|
|
||||||
fzf
|
|
||||||
ripgrep
|
|
||||||
wget
|
|
||||||
htop
|
|
||||||
playerctl
|
|
||||||
git
|
|
||||||
lsd
|
|
||||||
(input {
|
|
||||||
package = "doot";
|
|
||||||
})
|
|
||||||
|
|
||||||
## Other CLI Apps
|
|
||||||
nodejs
|
|
||||||
fastfetch
|
|
||||||
zellij
|
|
||||||
cava
|
|
||||||
cmatrix
|
|
||||||
opencode
|
|
||||||
tailscale
|
|
||||||
syncthing
|
|
||||||
(input { package = "norgolith"; })
|
|
||||||
jellyfin-tui
|
|
||||||
|
|
||||||
# Apps
|
|
||||||
## Actual Useful Stuff
|
|
||||||
nemo
|
|
||||||
kitty
|
|
||||||
firefox
|
|
||||||
gotify-desktop
|
|
||||||
pavucontrol
|
|
||||||
mpv
|
|
||||||
input-remapper
|
|
||||||
|
|
||||||
## Other Nonsense
|
|
||||||
tor-browser
|
|
||||||
techmino
|
|
||||||
prismlauncher
|
|
||||||
delfin
|
|
||||||
(input {
|
|
||||||
package = "chataigne";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
## Zsh
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
enableBashCompletion = true;
|
|
||||||
autosuggestions.enable = true;
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
histSize = 10000;
|
|
||||||
ohMyZsh = {
|
|
||||||
enable = true;
|
|
||||||
plugins = [
|
|
||||||
"git"
|
|
||||||
"dirhistory"
|
|
||||||
"history"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
|
||||||
|
|
||||||
## User programs
|
|
||||||
programs = {
|
|
||||||
dconf.enable = true;
|
|
||||||
xfconf.enable = true;
|
|
||||||
gdk-pixbuf.modulePackages = [ pkgs.librsvg ]; # For wlogout svgs
|
|
||||||
};
|
|
||||||
|
|
||||||
## User Services
|
|
||||||
services = {
|
|
||||||
gvfs.enable = true;
|
|
||||||
input-remapper.enable = true;
|
|
||||||
tailscale.enable = true;
|
|
||||||
printing.enable = true;
|
|
||||||
upower.enable = true;
|
|
||||||
openssh.enable = true;
|
|
||||||
avahi.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
## Fonts
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
nerd-fonts.fira-mono
|
|
||||||
];
|
|
||||||
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
|
|
||||||
|
|
||||||
# System Packages
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
|
|
||||||
# Utilities
|
|
||||||
inputs.nvim-wrapped.packages.${stdenv.hostPlatform.system}.default
|
|
||||||
vim
|
|
||||||
unzip
|
|
||||||
python310
|
|
||||||
usbutils
|
|
||||||
curlWithGnuTls
|
|
||||||
|
|
||||||
# System
|
|
||||||
mesa
|
|
||||||
vulkan-tools
|
|
||||||
gvfs
|
|
||||||
clang
|
|
||||||
xdg-desktop-portal
|
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
glib
|
|
||||||
gnutls
|
|
||||||
liblzf
|
|
||||||
librsvg
|
|
||||||
appimage-run
|
|
||||||
libnotify
|
|
||||||
gsettings-desktop-schemas
|
|
||||||
];
|
|
||||||
|
|
||||||
# The comment
|
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
networking.hostName = "mobile02"; # Define your hostname.
|
|
||||||
|
|
||||||
# Opengl and vulkan
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
intel-vaapi-driver
|
|
||||||
libva-vdpau-driver
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.displayManager.sddm = {
|
|
||||||
enable = true;
|
|
||||||
theme = "catppuccin-mocha-mauve";
|
|
||||||
package = pkgs.kdePackages.sddm;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
# Catppuccin sddm theme
|
|
||||||
(pkgs.catppuccin-sddm.override {
|
|
||||||
flavor = "mocha";
|
|
||||||
font = "Fira Mono Nerd Font";
|
|
||||||
fontSize = "11";
|
|
||||||
background = null;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# Local User
|
|
||||||
users.users.user01 = {
|
|
||||||
extraGroups = [ ];
|
|
||||||
packages = with pkgs; [
|
|
||||||
# Ricing
|
|
||||||
inputs.way-edges.packages.${stdenv.hostPlatform.system}.way-edges
|
|
||||||
|
|
||||||
# Terminal
|
|
||||||
light
|
|
||||||
# Apps
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.steam.enable = true;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,161 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
networking.hostName = "HACKSTATION";
|
|
||||||
|
|
||||||
# Enable nix-ld to run unpatched binaries
|
|
||||||
programs.nix-ld.enable = true;
|
|
||||||
programs.nix-ld.libraries = with pkgs; [
|
|
||||||
stdenv.cc.cc
|
|
||||||
zlib
|
|
||||||
libusb1
|
|
||||||
];
|
|
||||||
|
|
||||||
# Add Samsung USB udev rules
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
|
|
||||||
'';
|
|
||||||
|
|
||||||
hardware.amdgpu.initrd.enable = true;
|
|
||||||
|
|
||||||
# Opengl and vulkan
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
libva-vdpau-driver
|
|
||||||
libvdpau-va-gl
|
|
||||||
];
|
|
||||||
enable32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.amdgpu.opencl.enable = true;
|
|
||||||
|
|
||||||
boot.kernelParams = [
|
|
||||||
"amdgpu.ppfeaturemask=0xffffffff"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Wake on Lan
|
|
||||||
networking.interfaces.enp5s0.wakeOnLan.enable = true;
|
|
||||||
networking.firewall.enable = false;
|
|
||||||
|
|
||||||
systemd.services.NetworkManager-wait-online.enable = false;
|
|
||||||
|
|
||||||
services.displayManager = {
|
|
||||||
autoLogin.enable = true;
|
|
||||||
autoLogin.user = "user01";
|
|
||||||
sddm = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Pipewire stuff
|
|
||||||
services.pipewire.extraConfig.pipewire."97-null-sink" = {
|
|
||||||
"context.objects" = [
|
|
||||||
{
|
|
||||||
factory = "adapter";
|
|
||||||
args = {
|
|
||||||
"factory.name" = "support.null-audio-sink";
|
|
||||||
"node.name" = "Null-Sink";
|
|
||||||
"node.description" = "Null Sink";
|
|
||||||
"media.class" = "Audio/Sink";
|
|
||||||
"audio.position" = "FL,FR";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
factory = "adapter";
|
|
||||||
args = {
|
|
||||||
"factory.name" = "support.null-audio-sink";
|
|
||||||
"node.name" = "Null-Source";
|
|
||||||
"node.description" = "Null Source";
|
|
||||||
"media.class" = "Audio/Source";
|
|
||||||
"audio.position" = "FL,FR";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
services.pipewire.extraConfig.pipewire."98-virtual-mic" = {
|
|
||||||
"context.modules" = [
|
|
||||||
{
|
|
||||||
name = "libpipewire-module-loopback";
|
|
||||||
args = {
|
|
||||||
"audio.position" = "FL,FR";
|
|
||||||
"node.description" = "Mumble as Microphone";
|
|
||||||
"capture.props" = {
|
|
||||||
# Mumble's output node name.
|
|
||||||
"node.target" = "Mumble";
|
|
||||||
"node.passive" = true;
|
|
||||||
};
|
|
||||||
"playback.props" = {
|
|
||||||
"node.name" = "Virtual-Mumble-Microphone";
|
|
||||||
"media.class" = "Audio/Source";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Mumble server
|
|
||||||
services.murmur = {
|
|
||||||
enable = true;
|
|
||||||
bandwidth = 540000;
|
|
||||||
bonjour = true;
|
|
||||||
password = "mumblepass";
|
|
||||||
autobanTime = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Local User
|
|
||||||
users.users.user01 = {
|
|
||||||
extraGroups = [
|
|
||||||
"adbusers"
|
|
||||||
"docker"
|
|
||||||
];
|
|
||||||
packages = with pkgs; [
|
|
||||||
bottles
|
|
||||||
mumble
|
|
||||||
ferdium
|
|
||||||
android-tools
|
|
||||||
anki
|
|
||||||
vesktop
|
|
||||||
wine64
|
|
||||||
delfin
|
|
||||||
docker
|
|
||||||
orca-slicer
|
|
||||||
exiftool
|
|
||||||
ffmpeg
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
|
||||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.wrapped
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.steam.override {
|
|
||||||
extraEnv = {
|
|
||||||
LD_AUDIT = "${
|
|
||||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
|
|
||||||
}/library-inject.so:${
|
|
||||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
|
|
||||||
}/SLSsteam.so";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.wivrn = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.unstable.wivrn;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation.docker = {
|
|
||||||
enable = true;
|
|
||||||
enableOnBoot = false;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
591
flake.lock
generated
591
flake.lock
generated
@@ -1,106 +1,15 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"beaker-src": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1773884524,
|
|
||||||
"narHash": "sha256-1dnlofWaxI/YRID+WPz2jHZNDyloBubDt/bAQk9ePLU=",
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "abc598baf15d6f8a4de395a27ba34b1e769558e1",
|
|
||||||
"revCount": 21,
|
|
||||||
"shallow": false,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.bwaaa.monster/beaker"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"shallow": false,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.bwaaa.monster/beaker"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chataigne": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"path": "./modules/chataigne",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"path": "./modules/chataigne",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"parent": []
|
|
||||||
},
|
|
||||||
"doot": {
|
|
||||||
"inputs": {
|
|
||||||
"doot-src": "doot-src",
|
|
||||||
"nixpkgs": "nixpkgs_2",
|
|
||||||
"utils": "utils"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1767536004,
|
|
||||||
"narHash": "sha256-jvKYKYVUF+jQoWR5umYSaAk9IGFkV3j1n+tiOgupZjw=",
|
|
||||||
"owner": "voidarclabs",
|
|
||||||
"repo": "nixos.doot",
|
|
||||||
"rev": "78898e11478aad96df7d462d8d5deed99974be80",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "voidarclabs",
|
|
||||||
"repo": "nixos.doot",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"doot-src": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1760873580,
|
|
||||||
"narHash": "sha256-h7JNd6748vUpDw7wriMyN9jLV9m/BE2yan2VCQzar1Q=",
|
|
||||||
"owner": "pol-rivero",
|
|
||||||
"repo": "doot",
|
|
||||||
"rev": "05b1036d3457bbf49169ac161e7b62c8eb031684",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "pol-rivero",
|
|
||||||
"repo": "doot",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fenix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"fsel",
|
|
||||||
"naersk",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1752475459,
|
|
||||||
"narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "fenix",
|
|
||||||
"rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "fenix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768135262,
|
"lastModified": 1778716662,
|
||||||
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -109,141 +18,44 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"import-tree": {
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1778781969,
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
"narHash": "sha256-Jjuz5CmSkur8KvLDoGa+vylEp+RkQtv4mt/qcMznpH0=",
|
||||||
"owner": "numtide",
|
"owner": "vic",
|
||||||
"repo": "flake-utils",
|
"repo": "import-tree",
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
"rev": "d321337efd0f23a9eb14a42adb7b2c29313ab274",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "vic",
|
||||||
"repo": "flake-utils",
|
"repo": "import-tree",
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fsel": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"naersk": "naersk",
|
|
||||||
"nixpkgs": "nixpkgs_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776449631,
|
|
||||||
"narHash": "sha256-hexqfDecJo5/QCivkhPUjesBhuv28j3iLE/hOu9xb6g=",
|
|
||||||
"owner": "Mjoyufull",
|
|
||||||
"repo": "fsel",
|
|
||||||
"rev": "ef9e4e210f1206fe97126d74a0c109e9558a9ee0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Mjoyufull",
|
|
||||||
"repo": "fsel",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"otter-launcher",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1769638001,
|
|
||||||
"narHash": "sha256-hGwdJ/+oo+IRo2TiWV/V8BWWptQihcdFV/olTONaHqg=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "bd9f031efc634be4b80c5090b9171cc3a9f8e49c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mesa-davinci": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1754501210,
|
|
||||||
"narHash": "sha256-ahTHrGs72TLVcNUR2VHckEx+t6frke0e/Ptk6AaEINk=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "599ddd2b79331c1e6153e1659bdaab65d62c4c82",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "599ddd2b79331c1e6153e1659bdaab65d62c4c82",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"naersk": {
|
|
||||||
"inputs": {
|
|
||||||
"fenix": "fenix",
|
|
||||||
"nixpkgs": "nixpkgs_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776200608,
|
|
||||||
"narHash": "sha256-broZ6RFQr4Fv0wT73gGmzNX14A43TmTFF8g4wDKlNss=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "naersk",
|
|
||||||
"rev": "8b23250ab45c2a38cd91031aee26478ca4d0a28e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "naersk",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773222311,
|
"lastModified": 1782847225,
|
||||||
"narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=",
|
"narHash": "sha256-JC9PjqKYG9ve5U8aDOLQipp3+KLANBHUvGdLZlxzdKI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0590cd39f728e129122770c029970378a79d076a",
|
"rev": "95ca1e203c0750115fd4a6f17d5a245dfe6b1edd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.11",
|
"ref": "nixos-26.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-lib": {
|
"nixpkgs-lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765674936,
|
"lastModified": 1777168982,
|
||||||
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs.lib",
|
"repo": "nixpkgs.lib",
|
||||||
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -254,27 +66,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767379071,
|
"lastModified": 1780336545,
|
||||||
"narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=",
|
"narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=",
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "fb7944c166a3b630f177938e478f0378e64ce108",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1752077645,
|
|
||||||
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "be9e214982e20b8310878ac2baa063a961c1bdf6",
|
"rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -284,348 +80,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1775710090,
|
|
||||||
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_5": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776221942,
|
|
||||||
"narHash": "sha256-FbQAeVNi7G4v3QCSThrSAAvzQTmrmyDLiHNPvTF2qFM=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "1766437c5509f444c1b15331e82b8b6a9b967000",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-25.11",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_6": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776169885,
|
|
||||||
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_7": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1769461804,
|
|
||||||
"narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_8": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1769170682,
|
|
||||||
"narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "c5296fdd05cfa2c187990dd909864da9658df755",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_9": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1761597516,
|
|
||||||
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-25.05",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"norgolith": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1774362592,
|
|
||||||
"narHash": "sha256-yee24/VJaPHKkWr3FravXP2YSqnYpTCQdmGO1SNI30U=",
|
|
||||||
"owner": "NTBBloodbath",
|
|
||||||
"repo": "norgolith",
|
|
||||||
"rev": "f842f65f5279f0ab91631686100b11703bcaaebc",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NTBBloodbath",
|
|
||||||
"repo": "norgolith",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nvim-wrapped": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_6"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776463797,
|
|
||||||
"narHash": "sha256-o6rWiKDpnLRFlpNLHHEBgOFDU/jx9OhfyDHV84/rMaY=",
|
|
||||||
"ref": "refs/heads/main",
|
|
||||||
"rev": "dc5b162d20f5eba2922c785af7c9f1cfc414453d",
|
|
||||||
"revCount": 68,
|
|
||||||
"type": "git",
|
|
||||||
"url": "file:///home/user01/.dotfiles/.config/nvim"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "file:///home/user01/.dotfiles/.config/nvim"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"omnisearch": {
|
|
||||||
"inputs": {
|
|
||||||
"beaker-src": "beaker-src",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1774376566,
|
|
||||||
"narHash": "sha256-9MpNFotAXh8pOcYOLivq5UomOS5LbggdsRsNVpRtXAI=",
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "0b426487cafdc5672ba5077228bcf881c605bfbe",
|
|
||||||
"revCount": 68,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.voidarc.co.uk/voidarc/omnisearch"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.voidarc.co.uk/voidarc/omnisearch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"otter-launcher": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"home-manager": "home-manager",
|
|
||||||
"nixpkgs": "nixpkgs_7",
|
|
||||||
"systems": "systems_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1776452026,
|
|
||||||
"narHash": "sha256-l8m5XmrqPwgQBsQX3r4UTTl5poKGK3IK0im1weAe5ZQ=",
|
|
||||||
"owner": "kuokuo123",
|
|
||||||
"repo": "otter-launcher",
|
|
||||||
"rev": "51e2dd709f4292b5fe552c8b12c39eea7fecde5d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "kuokuo123",
|
|
||||||
"repo": "otter-launcher",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"chataigne": "chataigne",
|
"flake-parts": "flake-parts",
|
||||||
"doot": "doot",
|
"import-tree": "import-tree",
|
||||||
"fsel": "fsel",
|
"nixpkgs": "nixpkgs",
|
||||||
"mesa-davinci": "mesa-davinci",
|
"wrappers": "wrappers"
|
||||||
"nixpkgs": "nixpkgs_5",
|
|
||||||
"norgolith": "norgolith",
|
|
||||||
"nvim-wrapped": "nvim-wrapped",
|
|
||||||
"omnisearch": "omnisearch",
|
|
||||||
"otter-launcher": "otter-launcher",
|
|
||||||
"sls-steam": "sls-steam",
|
|
||||||
"way-edges": "way-edges"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer-src": {
|
"wrappers": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1752428706,
|
|
||||||
"narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=",
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"rev": "591e3b7624be97e4443ea7b5542c191311aa141d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"ref": "nightly",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs_2"
|
||||||
"way-edges",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761878277,
|
"lastModified": 1782135443,
|
||||||
"narHash": "sha256-6fCtyVdTzoQejwoextAu7dCLoy5fyD3WVh+Qm7t2Nhg=",
|
"narHash": "sha256-vAmbArdCyjqpVW+37aCy/PMBOLIqukUXLQuEKLwUhA4=",
|
||||||
"owner": "oxalica",
|
"owner": "BirdeeHub",
|
||||||
"repo": "rust-overlay",
|
"repo": "nix-wrapper-modules",
|
||||||
"rev": "6604534e44090c917db714faa58d47861657690c",
|
"rev": "6e7f66fa2cdf4d63162580b438f7fcf87c28a46f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "oxalica",
|
"owner": "BirdeeHub",
|
||||||
"repo": "rust-overlay",
|
"repo": "nix-wrapper-modules",
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sls-steam": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_8"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1775666900,
|
|
||||||
"narHash": "sha256-yXtD1fBEvL13RelIN2zp+1PdK2Ki+OexXHpqIqbWTPQ=",
|
|
||||||
"owner": "AceSLS",
|
|
||||||
"repo": "SLSsteam",
|
|
||||||
"rev": "6b23d6c3fda7e88efd917d110f898cfb1e39498a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "AceSLS",
|
|
||||||
"repo": "SLSsteam",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"way-edges": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_9",
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1774432979,
|
|
||||||
"narHash": "sha256-hvIy5WAv+DqA8Agln2Wgc8dHG/yDktfUU1k/3nlwjmw=",
|
|
||||||
"owner": "way-edges",
|
|
||||||
"repo": "way-edges",
|
|
||||||
"rev": "ffcda9ee59b6fdff86ad693f4cffd0a623420fab",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "way-edges",
|
|
||||||
"repo": "way-edges",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
68
flake.nix
68
flake.nix
@@ -3,70 +3,12 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# System
|
# System
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||||
nvim-wrapped = {
|
|
||||||
url = "git+file:///home/user01/.dotfiles/.config/nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Apps
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
sls-steam.url = "github:AceSLS/SLSsteam";
|
import-tree.url = "github:vic/import-tree";
|
||||||
chataigne.url = "./modules/chataigne";
|
wrappers.url = "github:BirdeeHub/nix-wrapper-modules";
|
||||||
norgolith = {
|
|
||||||
url = "github:NTBBloodbath/norgolith";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Utils
|
|
||||||
doot.url = "github:voidarclabs/nixos.doot";
|
|
||||||
way-edges.url = "github:way-edges/way-edges";
|
|
||||||
otter-launcher.url = "github:kuokuo123/otter-launcher";
|
|
||||||
fsel.url = "github:Mjoyufull/fsel";
|
|
||||||
|
|
||||||
# Davinci-resolve
|
|
||||||
mesa-davinci.url = "github:nixos/nixpkgs?ref=599ddd2b79331c1e6153e1659bdaab65d62c4c82";
|
|
||||||
|
|
||||||
omnisearch = {
|
|
||||||
url = "git+https://git.voidarc.co.uk/voidarc/omnisearch";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules);
|
||||||
{
|
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
...
|
|
||||||
}@inputs:
|
|
||||||
let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
|
|
||||||
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
|
|
||||||
common = import ./configs/common.nix;
|
|
||||||
|
|
||||||
mkSystem =
|
|
||||||
extraModules:
|
|
||||||
nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
modules = [
|
|
||||||
common
|
|
||||||
hardwareConfig
|
|
||||||
]
|
|
||||||
++ extraModules;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nixosConfigurations = {
|
|
||||||
mobile02 = mkSystem [ ./configs/configuration-laptop.nix ];
|
|
||||||
hackstation = mkSystem [
|
|
||||||
./configs/configuration-pc.nix
|
|
||||||
./modules/davinci/davinci.nix
|
|
||||||
./modules/i3/i3.nix
|
|
||||||
inputs.omnisearch.nixosModules.default
|
|
||||||
{
|
|
||||||
services.omnisearch.enable = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
27
modules/chataigne/flake.lock
generated
27
modules/chataigne/flake.lock
generated
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1773222311,
|
|
||||||
"narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "0590cd39f728e129122770c029970378a79d076a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-25.11",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
{
|
|
||||||
description = "Local wrapper for Chataigne AppImage";
|
|
||||||
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs =
|
|
||||||
{ self, nixpkgs }:
|
|
||||||
let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
pkgs = import nixpkgs { inherit system; };
|
|
||||||
|
|
||||||
# The libraries you requested
|
|
||||||
deps = with pkgs; [
|
|
||||||
curlFull
|
|
||||||
gnutls
|
|
||||||
libxrandr
|
|
||||||
alsa-lib
|
|
||||||
freetype
|
|
||||||
avahi
|
|
||||||
libglvnd
|
|
||||||
curl
|
|
||||||
SDL2
|
|
||||||
hidapi
|
|
||||||
libpulseaudio
|
|
||||||
lz4
|
|
||||||
openssl
|
|
||||||
libcap
|
|
||||||
libxcrypt
|
|
||||||
libgcrypt
|
|
||||||
libbsd
|
|
||||||
zlib
|
|
||||||
glib
|
|
||||||
];
|
|
||||||
|
|
||||||
# Wrap the local AppImage file
|
|
||||||
chataigne-bin = pkgs.appimageTools.wrapType2 {
|
|
||||||
pname = "chataigne";
|
|
||||||
version = "1.10.3";
|
|
||||||
# This points to the file in the same directory as flake.nix
|
|
||||||
src = ./Chataigne-linux-x64-1.10.3.AppImage;
|
|
||||||
extraPkgs = pkgs: deps;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Create the Desktop Entry
|
|
||||||
chataigne-desktop = pkgs.makeDesktopItem {
|
|
||||||
name = "chataigne";
|
|
||||||
exec = "chataigne";
|
|
||||||
icon = "chataigne";
|
|
||||||
comment = "Modular machine for art and technology";
|
|
||||||
desktopName = "Chataigne";
|
|
||||||
categories = [
|
|
||||||
"AudioVideo"
|
|
||||||
"Development"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
# packages.${system}.default = chataigne-bin;
|
|
||||||
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
|
||||||
# Packages you want available in your shell
|
|
||||||
buildInputs = [
|
|
||||||
chataigne-bin
|
|
||||||
];
|
|
||||||
|
|
||||||
# Environmental variables or shell hooks
|
|
||||||
shellHook = ''
|
|
||||||
echo "something"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
# This allows you to run 'nix run' or install it via system config
|
|
||||||
packages.${system}.default = pkgs.symlinkJoin {
|
|
||||||
name = "chataigne";
|
|
||||||
paths = [
|
|
||||||
chataigne-bin
|
|
||||||
chataigne-desktop
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,192 +0,0 @@
|
|||||||
# Tested on Davinci 20.2.2. It works for loading videos and exporting in H264/5 & AV1
|
|
||||||
# Even if following this guide https://www.reddit.com/r/LinuxCrackSupport/comments/1nfqhld/davinci_resolve_studio_202_fix_linux_crack_guide/
|
|
||||||
# nixpkgs rev used for this tests: 4652ba995a945108fb891191c1e910b9a6ed9064
|
|
||||||
|
|
||||||
{ lib, inputs, ... }:
|
|
||||||
let
|
|
||||||
mesa-good-pkg = inputs.mesa-davinci.legacyPackages.x86_64-linux.mesa;
|
|
||||||
pkgs = import (builtins.fetchTarball {
|
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/ec7c70d12ce2fc37cb92aff673dcdca89d187bae.tar.gz";
|
|
||||||
}) { config.allowUnfree = true; };
|
|
||||||
pkgs-pinned =
|
|
||||||
import
|
|
||||||
(builtins.fetchTarball {
|
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/497ee3c70707fd71b45c37d48ae1d45e79751047.tar.gz";
|
|
||||||
})
|
|
||||||
{
|
|
||||||
config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ffmpeg-encoder-plugin = pkgs.stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "ffmpeg-encoder-plugin";
|
|
||||||
version = "1.2.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "EdvinNilsson";
|
|
||||||
repo = "ffmpeg_encoder_plugin";
|
|
||||||
rev = "v${finalAttrs.version}";
|
|
||||||
hash = "sha256-F4Q8YCXD5UldTwLbWK4nHacNPQ/B+4yLL96sq7xZurM=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.cmake ];
|
|
||||||
buildInputs = [ pkgs.ffmpeg-full ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp ffmpeg_encoder_plugin.dvcp $out/
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
|
|
||||||
davinci-resolve-studio-cracked =
|
|
||||||
let
|
|
||||||
davinci-patched = pkgs-pinned.davinci-resolve-studio.davinci.overrideAttrs (old: {
|
|
||||||
# script based on https://www.reddit.com/r/LinuxCrackSupport/comments/1nfqhld/davinci_resolve_studio_202_fix_linux_crack_guide/
|
|
||||||
#
|
|
||||||
# Additionally, it will install ffmpeg_encoder_plugin to enable H264/5 & AV1 exports:
|
|
||||||
# https://github.com/EdvinNilsson/ffmpeg_encoder_plugin
|
|
||||||
#
|
|
||||||
# Note: $out IS /opt/resolve
|
|
||||||
postInstall = ''
|
|
||||||
${old.postInstall or ""}
|
|
||||||
${lib.getExe pkgs.perl} -pi -e 's/\x74\x11\xe8\x21\x23\x00\x00/\xeb\x11\xe8\x21\x23\x00\x00/g' $out/bin/resolve
|
|
||||||
${lib.getExe pkgs.perl} -pi -e 's/\x03\x00\x89\x45\xFC\x83\x7D\xFC\x00\x74\x11\x48\x8B\x45\xC8\x8B/\x03\x00\x89\x45\xFC\x83\x7D\xFC\x00\xEB\x11\x48\x8B\x45\xC8\x8B/' $out/bin/resolve
|
|
||||||
${lib.getExe pkgs.perl} -pi -e 's/\x74\x11\x48\x8B\x45\xC8\x8B\x55\xFC\x89\x50\x58\xB8\x00\x00\x00/\xEB\x11\x48\x8B\x45\xC8\x8B\x55\xFC\x89\x50\x58\xB8\x00\x00\x00/' $out/bin/resolve
|
|
||||||
${lib.getExe pkgs.perl} -pi -e 's/\x41\xb6\x01\x84\xc0\x0f\x84\xb0\x00\x00\x00\x48\x85\xdb\x74\x08\x45\x31\xf6\xe9\xa3\x00\x00\x00/\x41\xb6\x00\x84\xc0\x0f\x84\xb0\x00\x00\x00\x48\x85\xdb\x74\x08\x45\x31\xf6\xe9\xa3\x00\x00\x00/' $out/bin/resolve
|
|
||||||
touch $out/.license/blackmagic.lic
|
|
||||||
echo -e "LICENSE blackmagic davinciresolvestudio 999999 permanent uncounted\n hostid=ANY issuer=CGP customer=CGP issued=28-dec-2023\n akey=0000-0000-0000-0000 _ck=00 sig=\"00\"" > $out/.license/blackmagic.lic
|
|
||||||
|
|
||||||
mkdir -p $out/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/Linux-x86-64
|
|
||||||
cp ${ffmpeg-encoder-plugin}/ffmpeg_encoder_plugin.dvcp $out/IOPlugins/ffmpeg_encoder_plugin.dvcp.bundle/Contents/Linux-x86-64/
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
in
|
|
||||||
|
|
||||||
# the following was copied from davinci's derivation from nixpkgs.
|
|
||||||
# if davinci updates, this should be updated too
|
|
||||||
# but remember to replace "davinci" with "davinci-patched"
|
|
||||||
pkgs.buildFHSEnv {
|
|
||||||
inherit (davinci-patched) pname version;
|
|
||||||
|
|
||||||
targetPkgs =
|
|
||||||
pkgs:
|
|
||||||
with pkgs;
|
|
||||||
[
|
|
||||||
alsa-lib
|
|
||||||
aprutil
|
|
||||||
bzip2
|
|
||||||
dbus
|
|
||||||
expat
|
|
||||||
fontconfig
|
|
||||||
freetype
|
|
||||||
glib
|
|
||||||
libGL
|
|
||||||
libGLU
|
|
||||||
libarchive
|
|
||||||
libcap
|
|
||||||
librsvg
|
|
||||||
libtool
|
|
||||||
libuuid
|
|
||||||
libxcrypt # provides libcrypt.so.1
|
|
||||||
libxkbcommon
|
|
||||||
nspr
|
|
||||||
ocl-icd
|
|
||||||
opencl-headers
|
|
||||||
python3
|
|
||||||
python3.pkgs.numpy
|
|
||||||
udev
|
|
||||||
xdg-utils # xdg-open needed to open URLs
|
|
||||||
libICE
|
|
||||||
libSM
|
|
||||||
libX11
|
|
||||||
libXcomposite
|
|
||||||
libXcursor
|
|
||||||
libXdamage
|
|
||||||
libXext
|
|
||||||
libXfixes
|
|
||||||
libXi
|
|
||||||
libXinerama
|
|
||||||
libXrandr
|
|
||||||
libXrender
|
|
||||||
libXt
|
|
||||||
libXtst
|
|
||||||
libXxf86vm
|
|
||||||
libxcb
|
|
||||||
xcbutil
|
|
||||||
xcbutilimage
|
|
||||||
xcbutilkeysyms
|
|
||||||
xcbutilrenderutil
|
|
||||||
xcbutilwm
|
|
||||||
xkeyboardconfig
|
|
||||||
zlib
|
|
||||||
ocl-icd
|
|
||||||
rocmPackages.clr.icd
|
|
||||||
libGL
|
|
||||||
libGLU
|
|
||||||
]
|
|
||||||
++ [
|
|
||||||
mesa-good-pkg
|
|
||||||
davinci-patched
|
|
||||||
];
|
|
||||||
|
|
||||||
extraPreBwrapCmds = ''
|
|
||||||
mkdir -p ~/.local/share/DaVinciResolve/Extras || exit 1
|
|
||||||
'';
|
|
||||||
|
|
||||||
extraBwrapArgs = [
|
|
||||||
''--bind "$HOME"/.local/share/DaVinciResolve/Extras ${davinci-patched}/Extras''
|
|
||||||
];
|
|
||||||
|
|
||||||
runScript = "${lib.getExe pkgs.bash} ${pkgs.writeText "davinci-wrapper" ''
|
|
||||||
export QT_XKB_CONFIG_ROOT="${pkgs.xkeyboard_config}/share/X11/xkb"
|
|
||||||
export QT_PLUGIN_PATH="${davinci-patched}/libs/plugins:$QT_PLUGIN_PATH"
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32:${davinci-patched}/libs
|
|
||||||
# Force Resolve to use X11 (via XWayland) to avoid Aquamarine/Hyprland conflicts
|
|
||||||
export QT_QPA_PLATFORM=xcb
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${davinci-patched}/libs
|
|
||||||
|
|
||||||
# Prevent Resolve from trying to talk to the Wayland socket directly
|
|
||||||
unset WAYLAND_DISPLAY
|
|
||||||
${davinci-patched}/bin/resolve
|
|
||||||
''}";
|
|
||||||
|
|
||||||
extraInstallCommands = ''
|
|
||||||
mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps
|
|
||||||
ln -s ${davinci-patched}/share/applications/*.desktop $out/share/applications/
|
|
||||||
ln -s ${davinci-patched}/graphics/DV_Resolve.png $out/share/icons/hicolor/128x128/apps/davinci-resolve-studio.png
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
inherit davinci-patched;
|
|
||||||
updateScript = lib.getExe (
|
|
||||||
pkgs.writeShellApplication {
|
|
||||||
name = "update-davinci-resolve";
|
|
||||||
runtimeInputs = [
|
|
||||||
pkgs.curl
|
|
||||||
pkgs.jq
|
|
||||||
pkgs.common-updater-scripts
|
|
||||||
];
|
|
||||||
text = ''
|
|
||||||
set -o errexit
|
|
||||||
drv=pkgs/by-name/da/davinci-resolve/package.nix
|
|
||||||
currentVersion=${lib.escapeShellArg davinci-patched.version}
|
|
||||||
downloadsJSON="$(curl --fail --silent https://www.blackmagicdesign.com/api/support/us/downloads.json)"
|
|
||||||
|
|
||||||
latestLinuxVersion="$(echo "$downloadsJSON" | jq '[.downloads[] | select(.urls.Linux) | .urls.Linux[] | select(.downloadTitle | test("DaVinci Resolve")) | .downloadTitle]' | grep -oP 'DaVinci Resolve \K\d+\.\d+(\.\d+)?' | sort | tail -n 1)"
|
|
||||||
update-source-version davinci-resolve "$latestLinuxVersion" --source-key=davinci.src
|
|
||||||
|
|
||||||
# Since the standard and studio both use the same version we need to reset it before updating studio
|
|
||||||
sed -i -e "s/""$latestLinuxVersion""/""$currentVersion""/" "$drv"
|
|
||||||
|
|
||||||
latestStudioLinuxVersion="$(echo "$downloadsJSON" | jq '[.downloads[] | select(.urls.Linux) | .urls.Linux[] | select(.downloadTitle | test("DaVinci Resolve")) | .downloadTitle]' | grep -oP 'DaVinci Resolve Studio \K\d+\.\d+(\.\d+)?' | sort | tail -n 1)"
|
|
||||||
update-source-version davinci-resolve-studio "$latestStudioLinuxVersion" --source-key=davinci.src
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
environment.systemPackages = [ davinci-resolve-studio-cracked ];
|
|
||||||
}
|
|
||||||
55
modules/features/kitty/default.nix
Normal file
55
modules/features/kitty/default.nix
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.kitty = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
package = self.packages.${pkgs.stdenv.hostPlatform.system}.kitty;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
perSystem = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
self',
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
packages.kitty = let
|
||||||
|
myFont = pkgs.nerd-fonts.fira-mono; # or any font-providing package
|
||||||
|
fontsConf = pkgs.makeFontsConf {
|
||||||
|
fontDirectories = [myFont];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
inputs.wrappers.wrappers.kitty.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
environment = {
|
||||||
|
"FONTCONFIG_FILE" = "${fontsConf}";
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
name = "FiraMono Nerd Font";
|
||||||
|
size = 11;
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
font_size = 11;
|
||||||
|
window_padding_width = 10;
|
||||||
|
background_opacity = 0.50;
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
enable_audio_bell = false;
|
||||||
|
cursor_trail = 1;
|
||||||
|
cursor_trail_start_threshold = 1;
|
||||||
|
cursor_trail_color = "#cba6f7";
|
||||||
|
cursor_shape = "beam";
|
||||||
|
allow_remote_control = true;
|
||||||
|
};
|
||||||
|
keybindings = {
|
||||||
|
"ctrl+backspace" = "send_text all \\x17";
|
||||||
|
};
|
||||||
|
themeFile = "Catppuccin-Mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
100
modules/features/zsh/config.toml
Normal file
100
modules/features/zsh/config.toml
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||||
|
version = 3
|
||||||
|
final_space = true
|
||||||
|
|
||||||
|
[secondary_prompt]
|
||||||
|
template = '❯❯ '
|
||||||
|
foreground = 'magenta'
|
||||||
|
background = 'transparent'
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
template = '❯ '
|
||||||
|
background = 'transparent'
|
||||||
|
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
template = '''
|
||||||
|
{{- if .Env.DEVSHELL_NAME -}}
|
||||||
|
{{- $parts := split "|" .Env.DEVSHELL_NAME -}}
|
||||||
|
{{- range $part := $parts -}}
|
||||||
|
{{- if $part -}}
|
||||||
|
{{- $sub := split "/" $part -}}
|
||||||
|
{{- if eq (len $sub) 2 -}}
|
||||||
|
<{{ index $sub "_1" }}>{{ index $sub "_0" }}</> <#7f849c>| </>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
'''
|
||||||
|
|
||||||
|
[[blocks.segments]] # Python venv
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
template = '{{ if .Env.VIRTUAL_ENV }}<yellow>🐍 venv</> <#7f849c>|</> {{ end }}'
|
||||||
|
|
||||||
|
[[blocks.segments]] # Nix shell indicator
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
template = '{{ if and .Env.IN_NIX_SHELL (not .Env.DEVSHELL_NAME) }}<blue> nsh</> <#7f849c>|</> {{ end }}'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '{{ .Path }}'
|
||||||
|
foreground = 'blue'
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'path'
|
||||||
|
style = 'plain'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
cache_duration = 'none'
|
||||||
|
style = 'full'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}<yellow> *</>{{ end }} <cyan>{{ if gt .Behind 0 }}{{ end }}{{ if gt .Ahead 0 }}{{ end }}</>'
|
||||||
|
foreground = 'green'
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'git'
|
||||||
|
style = 'plain'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
branch_icon = ''
|
||||||
|
cache_duration = 'none'
|
||||||
|
commit_icon = '@'
|
||||||
|
fetch_status = true
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'rprompt'
|
||||||
|
overflow = 'hidden'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '{{ .FormattedMs }}'
|
||||||
|
foreground = 'yellow'
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'executiontime'
|
||||||
|
style = 'plain'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
cache_duration = 'none'
|
||||||
|
threshold = 5000
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
template = '❯'
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
foreground_templates = ['{{if gt .Code 0}}red{{end}}', '{{if eq .Code 0}}magenta{{end}}']
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
cache_duration = 'none'
|
||||||
|
|
||||||
53
modules/features/zsh/default.nix
Normal file
53
modules/features/zsh/default.nix
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.zsh = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
package = self.packages.${pkgs.stdenv.hostPlatform.system}.myZsh;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
perSystem = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
self',
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
packages = {
|
||||||
|
myZsh = inputs.wrappers.wrappers.zsh.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
zshAliases = {
|
||||||
|
ls = lib.getExe pkgs.lsd;
|
||||||
|
cat = lib.getExe pkgs.bat;
|
||||||
|
lg = lib.getExe pkgs.lazygit;
|
||||||
|
man = "man -P \"${lib.getExe pkgs.bat} -p\"";
|
||||||
|
nsh = "nix-shell -p";
|
||||||
|
};
|
||||||
|
zshrc.content = ''
|
||||||
|
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
|
||||||
|
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
|
||||||
|
source <(${pkgs.carapace}/bin/carapace _carapace)
|
||||||
|
setopt NO_CASE_GLOB
|
||||||
|
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
|
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
eval "$(${pkgs.devenv}/bin/devenv hook zsh)"
|
||||||
|
eval "$(${self.packages.${pkgs.host.stdenv.hostPlatform.system}.ohMyPosh}/bin/oh-my-posh init zsh)"
|
||||||
|
|
||||||
|
${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
ohMyPosh = inputs.wrappers.wrappers.oh-my-posh.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
configFile = ./config.toml;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
12
modules/hosts/HACKSTATION/default.nix
Normal file
12
modules/hosts/HACKSTATION/default.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules = with self.nixosModules; [
|
||||||
|
core
|
||||||
|
hackstationConfiguration
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/hosts/HACKSTATION/hackstationConfiguration.nix
Normal file
9
modules/hosts/HACKSTATION/hackstationConfiguration.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.hackstationConfiguration = {pkgs, ...}: {
|
||||||
|
networking.hostName = "HACKSTATION";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
services.libinput.enable = true;
|
|
||||||
|
|
||||||
services.displayManager.defaultSession = "hyprland";
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
desktopManager = {
|
|
||||||
xterm.enable = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
windowManager.i3 = {
|
|
||||||
enable = true;
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
dmenu # application launcher most people use
|
|
||||||
i3status # gives you the default i3 status bar
|
|
||||||
xorg.xinit
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
10
modules/parts.nix
Normal file
10
modules/parts.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
config = {
|
||||||
|
systems = [
|
||||||
|
"x86_64-linux"
|
||||||
|
"x86_64-darwin"
|
||||||
|
"aarch64-linux"
|
||||||
|
"aarch64-darwin"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
23
modules/system/core.nix
Normal file
23
modules/system/core.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.core = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
modules = with self.nixosModules; [
|
||||||
|
userConfiguration
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
/etc/nixos/hardware-configuration.nix
|
||||||
|
]
|
||||||
|
++ modules;
|
||||||
|
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
22
modules/system/core/user.nix
Normal file
22
modules/system/core/user.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.userConfiguration = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
users.users.user01 = {
|
||||||
|
isNormalUser = true;
|
||||||
|
initialPassword = "password";
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
description = "user01";
|
||||||
|
extraGroups = [
|
||||||
|
"root"
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user