Compare commits

28 Commits

Author SHA1 Message Date
doloro ca0486baff meow 2026-06-20 14:14:40 +01:00
doloro 2b7d77972b meow 2026-06-15 17:48:39 +01:00
doloro 0fb5245525 changes 2026-06-14 13:05:57 +01:00
doloro 8ec7b3429f comit 2026-06-11 00:07:50 +01:00
doloro d8f593c9f0 nix flake update 2026-06-09 22:53:37 +01:00
doloro 2359a79c14 meow 2026-06-09 22:27:33 +01:00
doloro 5ba041b778 a bunch of commits i think 2026-06-07 18:45:11 +01:00
doloro d7eec2970b unity fixes 2026-06-04 12:14:38 +01:00
doloro cf18e8c975 nix flake update nikpkgs 2026-05-30 13:25:29 +01:00
doloro 0842e518cc add: unity 2026-05-30 13:23:07 +01:00
doloro 6de7c0ca67 fixed nik-pkgs & added deadlock mod manager 2026-05-29 15:20:51 +01:00
doloro acb6fb1677 fixes 2026-05-28 13:26:03 +01:00
doloro e45cc182ee nix flake update 2026-05-27 11:38:50 +01:00
doloro 86feb4e601 stuff 2026-05-27 10:59:28 +01:00
doloro ff1629ad1f fixes and cleaning 2026-05-26 13:48:21 +01:00
doloro b93c1ad6aa meow 2026-05-25 23:34:30 +01:00
doloro a9e3deea08 added: rpi binary cache 2026-05-25 20:59:33 +01:00
doloro e1b14b3e07 find file 2026-05-25 15:18:43 +01:00
doloro 2a8f29f35f meow 2026-05-25 15:17:56 +01:00
doloro b92586122e uid fix 2026-05-25 15:12:20 +01:00
doloro e72f3c8dd9 wrong place 2026-05-25 15:01:42 +01:00
doloro 3b0d0e45e3 added more modules to wsl 2026-05-25 14:58:31 +01:00
doloro ffdf1c7e69 default user 2026-05-25 14:50:52 +01:00
doloro 02c8529c83 wsl errors fixed 2026-05-25 14:44:52 +01:00
doloro d486fa170b wsl changes 2026-05-25 14:34:06 +01:00
doloro 7d3a5ba4fa wsl init 2026-05-22 15:00:59 +01:00
doloro 6c609e2fa6 fix build 2026-05-21 17:51:10 +01:00
doloro 140f47649c commit 2026-05-21 15:55:43 +01:00
34 changed files with 1787 additions and 1135 deletions
+36 -9
View File
@@ -4,17 +4,21 @@
modules, modules,
inputs, inputs,
... ...
}: { }:
{
den.aspects.doloro-desktop = { den.aspects.doloro-desktop = {
includes = [ includes = [
<den/primary-user> <den/primary-user>
den.aspects.doloro-shared den.aspects.doloro-shared
modules.sops modules.sops
modules.flatpaks
modules.hyprland modules.hyprland
modules.fish modules.fish
modules.tuigreet modules.tuigreet
modules.kitty modules.kitty
modules.nikpkgs
modules.fonts modules.fonts
modules.unity
<modules/hyprland/doloro-settings> <modules/hyprland/doloro-settings>
(modules.obs { (modules.obs {
audio = true; audio = true;
@@ -30,35 +34,42 @@
modules.quickshell modules.quickshell
modules.nix-ld modules.nix-ld
modules.spotify modules.spotify
modules.easyeffects # modules.easyeffects
modules.lavd modules.lavd
modules.ai modules.ai
modules.omp # modules.omp
modules.podman modules.podman
<modules/ai/ollama-cuda> <modules/ai/ollama-cuda>
]; ];
nixos = { nixos =
{
config, config,
pkgs, pkgs,
... ...
}: { }:
{
users.users.doloro = { users.users.doloro = {
shell = pkgs.fish; shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets."doloro-hashed_password".path; hashedPasswordFile = config.sops.secrets."doloro-hashed_password".path;
extraGroups = [ "libvirtd" ]; extraGroups = [ "libvirtd" ];
}; };
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
# virtualisation.waydroid.enable = true;
# # Newer kernel versions may need
# virtualisation.waydroid.package = pkgs.waydroid-nftables;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
}; };
homeManager = { homeManager =
{
home, home,
pkgs, pkgs,
... ...
}: { }:
{
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
monitor = [ monitor = [
"HDMI-A-1, 1920x1080@60, 0x0, 1" "HDMI-A-1, 1920x1080@60, 0x0, 1"
"DP-3, 1920x1080@144, 1920x0, 1" "DP-2, 1920x1080@120, 1920x0, 1"
]; ];
exec-once = [ exec-once = [
"hyprctl dispatch workspace 2" # shit solution to get quickshell on the right monitor "hyprctl dispatch workspace 2" # shit solution to get quickshell on the right monitor
@@ -78,10 +89,26 @@
obsidian obsidian
# pear-desktop # pear-desktop
prismlauncher prismlauncher
deadlock-mod-manager # deadlock-mod-manager
inputs.nik-pkgs.packages.x86_64-linux.grimorie
gamescope gamescope
android-studio android-studio
blender blender
bottles
pi-coding-agent
(pkgs.symlinkJoin {
name = "orca-slicer";
paths = [ pkgs.orca-slicer ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/orca-slicer \
--prefix LC_ALL : C \
--prefix MESA_LOADER_DRIVER_OVERRIDE : zink \
--prefix WEBKIT_DISABLE_DMABUF_RENDERER : 1 \
--prefix __EGL_VENDOR_LIBRARY_FILENAMES : ${pkgs.mesa}/share/glvnd/egl_vendor.d/50_mesa.json \
--prefix GALLIUM_DRIVER : zink
'';
})
]; ];
programs.lutris.enable = true; programs.lutris.enable = true;
nixpkgs.overlays = [ nixpkgs.overlays = [
+9 -6
View File
@@ -6,16 +6,19 @@
__findFile, __findFile,
lib, lib,
... ...
}: { }:
{
den.aspects.desktop = { den.aspects.desktop = {
includes = [ includes = [
modules.nix modules.nix
]; ];
nixos = { nixos =
{
pkgs, pkgs,
config, config,
... ...
}: { }:
{
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.device = "nodev"; boot.loader.grub.device = "nodev";
boot.loader.grub.devices = [ boot.loader.grub.devices = [
@@ -27,7 +30,7 @@
boot.loader.grub.efiInstallAsRemovable = true; boot.loader.grub.efiInstallAsRemovable = true;
networking.hostName = "doloroo-main"; # Define your hostname. networking.hostName = "doloroo-main"; # Define your hostname.
boot.kernelPackages = pkgs.linuxPackages_latest; # boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.verbose = false; boot.initrd.verbose = false;
boot.kernelParams = [ boot.kernelParams = [
@@ -70,7 +73,7 @@
# Enable this if you have graphical corruption issues or application crashes after waking # Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
# of just the bare essentials. # of just the bare essentials.
powerManagement.enable = true; powerManagement.enable = false;
# Fine-grained power management. Turns off GPU when not in use. # Fine-grained power management. Turns off GPU when not in use.
# Experimental and only works on modern Nvidia GPUs (Turing or newer). # Experimental and only works on modern Nvidia GPUs (Turing or newer).
@@ -83,7 +86,7 @@
# supported GPUs is at: # supported GPUs is at:
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus # https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
# Only available from driver 515.43.04+ # Only available from driver 515.43.04+
open = true; open = false;
# Enable the Nvidia settings menu, # Enable the Nvidia settings menu,
# accessible via `nvidia-settings`. # accessible via `nvidia-settings`.
+8 -8
View File
@@ -3,8 +3,7 @@
modules, modules,
__findFile, __findFile,
... ...
}: }: {
{
den.aspects.doloro-shared = { den.aspects.doloro-shared = {
includes = [ includes = [
modules.nixvim modules.nixvim
@@ -14,9 +13,11 @@
modules.hyfetch modules.hyfetch
modules.ssh modules.ssh
]; ];
homeManager = homeManager = {
{ pkgs, lib, ... }: pkgs,
{ lib,
...
}: {
home = { home = {
username = "doloro"; username = "doloro";
homeDirectory = "/home/doloro"; homeDirectory = "/home/doloro";
@@ -24,13 +25,12 @@
wl-clipboard wl-clipboard
# home-manager # home-manager
btop btop
pavucontrol
]; ];
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
}; };
nixos = nixos = {lib, ...}: {
{ lib, ... }:
{
}; };
}; };
} }
+34
View File
@@ -0,0 +1,34 @@
{
den,
modules,
__findFile,
...
}: {
den.aspects.doloro-wsl = {
includes = [
<den/primary-user>
den.aspects.doloro-shared
modules.fish
modules.tmux
modules.nix
modules.omp
modules.hyfetch
modules.git
];
nixos = {
config,
pkgs,
...
}: {
users.users.doloro = {
isNormalUser = true;
shell = pkgs.fish;
uid = 1000;
# hashedPasswordFile = config.sops.secrets."doloro-hashed_password".path;
};
};
homeManager = {...}: {
};
};
}
+22
View File
@@ -0,0 +1,22 @@
{
den,
modules,
...
}: {
flake-file.inputs = {
};
den.aspects.wsl = {
includes = [
modules.wsl
modules.tmux
modules.nix
modules.omp
modules.hyfetch
modules.git
];
nixos = {lib, ...}: {
wsl.enable = true;
wsl.defaultUser = "doloro";
};
};
}
+4
View File
@@ -31,6 +31,10 @@
services.openssh.enable = true; services.openssh.enable = true;
nixpkgs.hostPlatform = "aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";
nix.gc = {
automatic = true;
};
}; };
}; };
} }
+10 -3
View File
@@ -3,8 +3,7 @@
__findFile, __findFile,
lib, lib,
... ...
}: }: {
{
# Homes # Homes
den.homes.x86_64-linux.doloro-desktop = { den.homes.x86_64-linux.doloro-desktop = {
aspect = "doloro-desktop"; aspect = "doloro-desktop";
@@ -14,6 +13,9 @@
den.homes.aarch64-linux.doloro-laptop = { den.homes.aarch64-linux.doloro-laptop = {
userName = "doloro"; userName = "doloro";
}; };
den.homes.aarch64-linux.doloro-wsl = {
userName = "doloro";
};
# Machines # Machines
den.hosts.x86_64-linux.desktop = { den.hosts.x86_64-linux.desktop = {
users.doloro = { users.doloro = {
@@ -28,6 +30,12 @@
home-manager.enable = true; home-manager.enable = true;
}; };
}; };
den.hosts.aarch64-linux.wsl = {
users.doloro = {
aspect = "doloro-wsl";
home-manager.enable = true;
};
};
den.schema.user.classes = lib.mkDefault ["homeManager"]; den.schema.user.classes = lib.mkDefault ["homeManager"];
@@ -36,5 +44,4 @@
type = lib.types.attrs; type = lib.types.attrs;
description = "Home Manager configurations for users."; description = "Home Manager configurations for users.";
}; };
} }
+17 -1
View File
@@ -14,9 +14,25 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = [ home.packages = [
pkgs.opencode
pkgs.claude-code pkgs.claude-code
]; ];
programs.opencode = {
enable = true;
extraPackages = with pkgs; [
rust-analyzer
typescript-language-server
];
context = ''
Instructions:
- Do NOT preemptively load all references - use lazy loading based on actual need
- When loaded, treat content as mandatory instructions that override defaults
- Follow references recursively when needed
'';
settings = {
"lsp" = true;
};
};
}; };
}; };
} }
+3 -16
View File
@@ -3,28 +3,15 @@
den, den,
inputs, inputs,
... ...
}: { }:
{
flake-file.inputs = { flake-file.inputs = {
omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main"; omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main";
}; };
modules.omp = { modules.omp = {
homeManager = { homeManager = {
imports = [ inputs.omp-nix.homeManagerModules.omp ]; imports = [ inputs.omp-nix.homeManagerModules.omp ];
oh-my-pi.enable = true;
oh-my-pi = {
enable = false;
settings = {
theme = "dark-gruvbox";
symbolPreset = "nerd";
defaultThinkingLevel = "medium";
ask.timeout = 0;
};
skills = {
pdf = "github:anthropics/skills/skills/pdf@b0cbd3df1533b396d281a6886d5132f623393a9c";
frontend-design = "github:anthropics/skills/skills/frontend-design@b0cbd3df1533b396d281a6886d5132f623393a9c";
};
};
}; };
}; };
} }
+1
View File
@@ -7,6 +7,7 @@
settings = { settings = {
global = { global = {
font = "Noto Nerd Font 8"; font = "Noto Nerd Font 8";
monitor = "DP-2";
}; };
}; };
}; };
+14 -5
View File
@@ -1,5 +1,12 @@
{ modules, ... }:
{ {
modules,
inputs,
...
}:
{
flake-file.inputs = {
direnv-instant.url = "github:Mic92/direnv-instant";
};
modules.fish = { modules.fish = {
nixos = { nixos = {
programs.fish.enable = true; programs.fish.enable = true;
@@ -8,7 +15,10 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.shell.enableFishIntegration = true; home.shell.enableFishIntegration = true;
home.packages = [ pkgs.nix-output-monitor ]; home.packages = [
pkgs.nix-output-monitor
# pkgs.devenv
];
programs = { programs = {
fish = { fish = {
enable = true; enable = true;
@@ -18,12 +28,11 @@
set -g theme_display_user yes set -g theme_display_user yes
set -g fish_color_autosuggestion 6F6578 set -g fish_color_autosuggestion 6F6578
alias nik 'nix' alias nik 'nix'
if not set -q TMUX if not set -q TMUX
set -gx COLORTERM truecolor set -gx COLORTERM truecolor
end end
''; '';
# alias nos 'sudo echo; sudo nixos-rebuild switch --flake .#${aspect-name} --log-format internal-json -v &| nom --json'
# alias hms 'home-manager switch --flake .#${aspect-name} --log-format internal-json -v &| nom --json'
plugins = [ plugins = [
{ {
name = "bobthefish"; name = "bobthefish";
@@ -45,7 +54,7 @@
}; };
direnv = { direnv = {
enable = true; enable = true;
nix-direnv.enable = true; enableFishIntegration = true;
}; };
}; };
}; };
+36
View File
@@ -0,0 +1,36 @@
{ modules, inputs, ... }:
{
flake-file.inputs = {
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
};
modules.flatpaks = {
nixos = {
imports = [
inputs.nix-flatpak.nixosModules.nix-flatpak
];
services.flatpak = {
enable = true;
};
};
homeManager = {
imports = [
inputs.nix-flatpak.homeManagerModules.nix-flatpak
];
services.flatpak = {
enable = true;
packages = [
{
flatpakref = "https://dl.flathub.org/repo/appstream/org.vinegarhq.Sober.flatpakref";
sha256 = "15ak2i5nk64wbmswqml2cqfgidczawqybmc7pmw94yp8wcd4yv6i";
}
];
};
services.flatpak.remotes = [
{
name = "flathub-beta";
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
};
};
}
+5 -5
View File
@@ -11,14 +11,14 @@
localNetworkGameTransfers.openFirewall = true; localNetworkGameTransfers.openFirewall = true;
# Ensure gamescope is inside the steam "fhs" # Ensure gamescope is inside the steam "fhs"
package = pkgs.steam.override { package = pkgs.steam.override {
extraLibraries = pkgs: [ pkgs.xorg.libxcb ]; extraLibraries = pkgs: [ pkgs.libxcb ];
extraPkgs = extraPkgs =
pkgs: with pkgs; [ pkgs: with pkgs; [
attr attr
xorg.libXcursor libxcursor
xorg.libXi libxi
xorg.libXinerama libxinerama
xorg.libXScrnSaver libxscrnsaver
libpng libpng
libpulseaudio libpulseaudio
libvorbis libvorbis
+32 -11
View File
@@ -1,15 +1,18 @@
{modules, ...}: { { modules, ... }:
{
modules.hyprland = { modules.hyprland = {
provides = { provides = {
doloro-settings = { doloro-settings = {
includes = [ includes = [
modules.dunst modules.dunst
]; ];
homeManager = { homeManager =
{
pkgs, pkgs,
home, home,
... ...
}: { }:
{
home.packages = [ home.packages = [
pkgs.hyprcursor pkgs.hyprcursor
pkgs.wlogout pkgs.wlogout
@@ -25,6 +28,22 @@
package = pkgs.rose-pine-hyprcursor; package = pkgs.rose-pine-hyprcursor;
hyprcursor.enable = true; hyprcursor.enable = true;
}; };
services.hyprpaper = {
enable = true;
settings = {
splash = true;
wallpaper = [
{
monitor = "HDMI-A-1";
path = "/home/doloro/Wallpaper.jpg";
}
{
monitor = "DP-2";
path = "/home/doloro/Wallpaper.jpg";
}
];
};
};
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
env = [ env = [
"XCURSOR_THEME,BreezeX-RosePine-Linux" "XCURSOR_THEME,BreezeX-RosePine-Linux"
@@ -63,7 +82,7 @@
}; };
}; };
cursor = { cursor = {
no_hardware_cursors = true; no_hardware_cursors = false;
}; };
animations = { animations = {
enabled = true; enabled = true;
@@ -109,8 +128,7 @@
# vfr = true; # vfr = true;
}; };
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
bind = bind = [
[
( (
let let
config = pkgs.writeTextFile { config = pkgs.writeTextFile {
@@ -131,7 +149,8 @@
script = pkgs.writeShellScript "mreow" '' script = pkgs.writeShellScript "mreow" ''
exec $(tofi-drun -c ${config}) exec $(tofi-drun -c ${config})
''; '';
in "$mainMod, R, exec, ${script}" in
"$mainMod, R, exec, ${script}"
) )
"$mainMod, C, killactive" "$mainMod, C, killactive"
"$mainMod, M, exec, uwsm stop" "$mainMod, M, exec, uwsm stop"
@@ -163,14 +182,15 @@
] ]
++ (builtins.concatLists ( ++ (builtins.concatLists (
builtins.genList ( builtins.genList (
i: let i:
let
ws = i + 1; ws = i + 1;
in [ in
[
"$mainMod, ${toString ws}, workspace, ${toString ws}" "$mainMod, ${toString ws}, workspace, ${toString ws}"
"$mainMod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}" "$mainMod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}"
] ]
) ) 9
9
)); ));
bindm = [ bindm = [
"$mainMod, mouse:272, movewindow" "$mainMod, mouse:272, movewindow"
@@ -180,6 +200,7 @@
"match:class .*, suppress_event maximize" "match:class .*, suppress_event maximize"
"match:class ^(gamescope)$, workspace 5" "match:class ^(gamescope)$, workspace 5"
"match:class ^(gamescope)$, immediate true" "match:class ^(gamescope)$, immediate true"
"match:class ^(gamescope)$, confine_pointer true"
"match:class ^(steam)$, workspace 6 silent" "match:class ^(steam)$, workspace 6 silent"
"match:class ^(vesktop)$, workspace 8 silent" "match:class ^(vesktop)$, workspace 8 silent"
"match:class ^(org.telegram.desktop)$, workspace 8 silent" "match:class ^(org.telegram.desktop)$, workspace 8 silent"
+5 -8
View File
@@ -3,15 +3,12 @@
inputs, inputs,
lib, lib,
... ...
}: }: {
{
flake-file.inputs = { flake-file.inputs = {
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
}; };
modules.hyprland = { modules.hyprland = {
nixos = nixos = {pkgs, ...}: {
{ pkgs, ... }:
{
imports = [inputs.hyprland.nixosModules.default]; imports = [inputs.hyprland.nixosModules.default];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wayfreeze wayfreeze
@@ -46,15 +43,15 @@
# package32 = pkgs-unstable.pkgsi686Linux.mesa; # package32 = pkgs-unstable.pkgsi686Linux.mesa;
}; };
}; };
homeManager = homeManager = {pkgs, ...}: {
{ pkgs, ... }:
{
gtk = { gtk = {
enable = true; enable = true;
}; };
# backupFileExtension = "backupHM";
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.variables = ["--all"]; systemd.variables = ["--all"];
configType = "hyprlang";
}; };
}; };
}; };
+5 -1
View File
@@ -1,5 +1,8 @@
{ den, modules, ... }:
{ {
den,
modules,
...
}: {
modules.kitty = { modules.kitty = {
homeManager = { homeManager = {
programs.kitty = { programs.kitty = {
@@ -12,6 +15,7 @@
sync_to_monitor = "yes"; sync_to_monitor = "yes";
background_opacity = 0.6; background_opacity = 0.6;
cursor_trail = 1; cursor_trail = 1;
auto_reload_config = -1;
}; };
}; };
}; };
+3 -3
View File
@@ -3,17 +3,17 @@
modules, modules,
inputs, inputs,
... ...
}: }: {
{
flake-file.inputs = { flake-file.inputs = {
nik-pkgs = { nik-pkgs = {
url = "git+https://git.scug.io/nikkuss/pkgs.git"; url = "git+https://git.scug.io/nikkuss/pkgs.git";
inputs.nixpkgs.follows = "nixpkgs"; # inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
modules.nikpkgs = { modules.nikpkgs = {
nixos = { nixos = {
nixpkgs.overlays = [inputs.nik-pkgs.overlays.default]; nixpkgs.overlays = [inputs.nik-pkgs.overlays.default];
}; };
# debug = inputs.nik-pkgs;
}; };
} }
+21 -21
View File
@@ -24,19 +24,19 @@
systemd systemd
# My own additions # My own additions
xorg.libXcomposite libxcomposite
xorg.libXtst libxtst
xorg.libXrandr libxrandr
xorg.libXext libxext
xorg.libX11 libx11
xorg.libXfixes libxfixes
libGL libGL
libva libva
pipewire pipewire
xorg.libxcb libxcb
xorg.libXdamage libxdamage
xorg.libxshmfence libxshmfence
xorg.libXxf86vm libxxf86vm
libelf libelf
# Required # Required
@@ -56,13 +56,13 @@
# glibc_multi.bin # Seems to cause issue in ARM # glibc_multi.bin # Seems to cause issue in ARM
# # Without these it silently fails # # Without these it silently fails
xorg.libXinerama libxinerama
xorg.libXcursor libxcursor
xorg.libXrender libxrender
xorg.libXScrnSaver libxscrnsaver
xorg.libXi libxi
xorg.libSM libsm
xorg.libICE libice
gnome2.GConf gnome2.GConf
nspr nspr
nss nss
@@ -88,13 +88,13 @@
# other issue: (Unity:377230): GLib-GIO-CRITICAL **: 21:09:04.706: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed # other issue: (Unity:377230): GLib-GIO-CRITICAL **: 21:09:04.706: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
# Verified games requirements # Verified games requirements
xorg.libXt libxt
xorg.libXmu libxmu
libogg libogg
libvorbis libvorbis
SDL SDL
SDL2_image SDL2_image
glew110 glew_1_10
libidn libidn
tbb tbb
@@ -123,7 +123,7 @@
libgcrypt libgcrypt
libvpx libvpx
librsvg librsvg
xorg.libXft libxft
libvdpau libvdpau
# ... # ...
# Some more libraries that I needed to run programs # Some more libraries that I needed to run programs
+8 -6
View File
@@ -1,12 +1,12 @@
{ ... }: {...}: {
{ flake-file.inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
modules.nix = { modules.nix = {
nixos = nixos = {...}: {
{ ... }:
{
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings = { nix.settings = {
substituters = [ extra-substituters = [
"https://hyprland.cachix.org" "https://hyprland.cachix.org"
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://cache.nixos.org/" "https://cache.nixos.org/"
@@ -14,6 +14,7 @@
"https://cache.nixos-cuda.org" "https://cache.nixos-cuda.org"
"https://niri.cachix.org" "https://niri.cachix.org"
"https://attic.xuyh0120.win/lantian" "https://attic.xuyh0120.win/lantian"
"https://nixos-raspberrypi.cachix.org"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
@@ -22,6 +23,7 @@
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=" "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
"nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI="
]; ];
experimental-features = [ experimental-features = [
"flakes" "flakes"
+168 -52
View File
@@ -4,19 +4,24 @@
lib, lib,
inputs, inputs,
... ...
}: { }:
{
# Its in its own folder for future modulizaion efforts # Its in its own folder for future modulizaion efforts
flake-file.inputs = { flake-file.inputs = {
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
# inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
modules = { modules = {
nixvim = { nixvim = {
nixos = {home-manager, ...}: { nixos =
{ home-manager, ... }:
{
}; };
homeManager = {pkgs, ...}: let homeManager =
{ pkgs, ... }:
let
tiny-code-action = pkgs.vimUtils.buildVimPlugin { tiny-code-action = pkgs.vimUtils.buildVimPlugin {
name = "tiny-code-action.nvim"; name = "tiny-code-action.nvim";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@@ -27,7 +32,8 @@
}; };
nvimSkipModules = [ "tiny-code-action.previewers.snacks" ]; nvimSkipModules = [ "tiny-code-action.previewers.snacks" ];
}; };
in { in
{
imports = [ imports = [
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
]; ];
@@ -40,15 +46,21 @@
}; };
}; };
colorschemes.gruvbox-material.enable = true; colorschemes.gruvbox-material.enable = true;
# colorschemes.melange = {
# enable = true;
# autoLoad = false;
# };
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# formatters # formatters
alejandra nixfmt-rs
rustfmt rustfmt
# misc # misc
ripgrep ripgrep
nixd nixd
tree-sitter tree-sitter
rust-analyzer rust-analyzer
rustc
cargo
]; ];
performance.byteCompileLua = { performance.byteCompileLua = {
enable = true; enable = true;
@@ -58,8 +70,12 @@
configs = true; configs = true;
}; };
plugins = { plugins = {
luasnip.enable = true;
cmp_luasnip.enable = true;
fidget.enable = true;
mini-comment.enable = true;
# cord.enable = true;
todo-comments.enable = true; todo-comments.enable = true;
lsp-status.enable = true;
transparent.enable = true; transparent.enable = true;
which-key.enable = true; which-key.enable = true;
snacks.enable = true; snacks.enable = true;
@@ -67,7 +83,7 @@
enable = true; enable = true;
settings = { settings = {
formatters_by_ft = { formatters_by_ft = {
nix = ["alejandra"]; nix = [ "nixfmt" ];
rust = [ "rustfmt" ]; rust = [ "rustfmt" ];
"_" = [ "_" = [
"squeeze_blanks" "squeeze_blanks"
@@ -93,12 +109,12 @@
lsp = { lsp = {
enable = true; enable = true;
servers = { servers = {
qmlls = { # qmlls = {
enable = true; # enable = true;
config = { # config = {
cmd = "-E"; # cmd = "-E";
}; # };
}; # };
rust_analyzer = { rust_analyzer = {
enable = true; enable = true;
installCargo = false; installCargo = false;
@@ -169,7 +185,10 @@
}; };
web-devicons.enable = true; web-devicons.enable = true;
vim-dadbod-completion.enable = true; vim-dadbod-completion.enable = true;
telescope.enable = true; telescope = {
enable = true;
extensions.file-browser.enable = true;
};
lazygit.enable = true; lazygit.enable = true;
mini-indentscope = { mini-indentscope = {
enable = true; enable = true;
@@ -188,21 +207,46 @@
}; };
}; };
lsp-lines.enable = true; lsp-lines.enable = true;
diaglist = { trouble = {
enable = true; enable = true;
settings = { settings = {
debug = false; auto_close = true;
use_diagnostic_signs = true;
}; };
}; };
cmp = { cmp = {
enable = true; enable = true;
autoEnableSources = true; autoEnableSources = true;
cmdline = {
":" = {
mapping.__raw = "cmp.mapping.preset.cmdline()";
sources = [
{ name = "path"; }
{ name = "cmdline"; }
];
};
"/" = {
mapping.__raw = "cmp.mapping.preset.cmdline()";
sources = [
{ name = "buffer"; }
];
};
};
settings = { settings = {
snippet.expand.__raw = "function(args) require('luasnip').lsp_expand(args.body) end";
sources = [ sources = [
{ {
name = "nvim_lsp"; name = "nvim_lsp";
priority = 100; priority = 100;
} }
{
name = "nvim_lsp_signature_help";
priority = 90;
}
{
name = "luasnip";
priority = 75;
}
{ {
name = "buffer"; name = "buffer";
priority = 50; priority = 50;
@@ -218,8 +262,10 @@
"<C-e>" = "cmp.mapping.close()"; "<C-e>" = "cmp.mapping.close()";
"<C-f>" = "cmp.mapping.scroll_docs(4)"; "<C-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })"; "<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = "cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() else fallback() end end, {'i', 's'})"; "<S-Tab>" =
"<Tab>" = "cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() else fallback() end end, {'i', 's'})"; "cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() elseif require('luasnip').jumpable(-1) then require('luasnip').jump(-1) else fallback() end end, {'i', 's'})";
"<Tab>" =
"cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() elseif require('luasnip').expand_or_jumpable() then require('luasnip').expand_or_jump() else fallback() end end, {'i', 's'})";
}; };
window = { window = {
completion = { completion = {
@@ -271,17 +317,11 @@
]; ];
settings = { settings = {
highlight.enable = true; highlight.enable = true;
indent.enable = true; indent.enable = false;
}; };
}; };
}; };
extraPlugins = with pkgs; [ extraPlugins = with pkgs; [
# vimPlugins.mini-completion
vimPlugins.mini-comment
vimPlugins.melange-nvim
vimPlugins.telescope-file-browser-nvim
vimPlugins.lsp-progress-nvim
vimPlugins.cmp-cmdline
vimPlugins.cmp-nvim-lsp-signature-help vimPlugins.cmp-nvim-lsp-signature-help
tiny-code-action tiny-code-action
]; ];
@@ -291,35 +331,14 @@
tabstop = 2; tabstop = 2;
shiftwidth = 2; shiftwidth = 2;
termguicolors = true; termguicolors = true;
completeopt = "menu,menuone,noselect";
}; };
globals = { globals = {
mapleader = " "; mapleader = " ";
}; };
extraConfigLua = '' extraConfigLua = ''
local cmp = require('cmp') -- tree-sitter-nix uses (#is-not? local) which the new nvim-treesitter main branch no longer registers
cmp.setup.cmdline(':', { vim.treesitter.query.add_predicate("is-not?", function() return true end, { force = true })
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources(
{ { name = 'path' } },
{ { name = 'cmdline' } }
),
window = {
completion = {
border = 'rounded',
},
},
})
cmp.setup.cmdline('/', {
mapping = cmp.mapping.preset.cmdline(),
sources = {
{ name = 'buffer' }
},
window = {
completion = {
border = 'rounded',
},
},
})
require('tiny-code-action').setup({ require('tiny-code-action').setup({
backend = 'vim', backend = 'vim',
@@ -375,20 +394,117 @@
}; };
} }
{ {
action = "<cmd>DiaglistToggle<cr>"; action = "<cmd>Trouble diagnostics toggle<cr>";
key = "<leader>fd"; key = "<leader>fd";
options = { options = {
silent = true; silent = true;
desc = "Toggle diagnostics (Trouble)";
}; };
} }
{ {
action = "<cmd>lua require('tiny-code-action').code_action()<cr>"; action = "<cmd>lua require('tiny-code-action').code_action()<cr>";
key = "<leader>ca"; key = "<leader>ca";
mode = ["n" "x"]; mode = [
"n"
"x"
];
options = { options = {
silent = true; silent = true;
}; };
} }
# LSP
{
action = "<cmd>lua vim.lsp.buf.definition()<cr>";
key = "gd";
options = {
silent = true;
desc = "Go to definition";
};
}
{
action = "<cmd>lua vim.lsp.buf.declaration()<cr>";
key = "gD";
options = {
silent = true;
desc = "Go to declaration";
};
}
{
action = "<cmd>lua vim.lsp.buf.implementation()<cr>";
key = "gi";
options = {
silent = true;
desc = "Go to implementation";
};
}
{
action = "<cmd>lua vim.lsp.buf.type_definition()<cr>";
key = "<leader>D";
options = {
silent = true;
desc = "Go to type definition";
};
}
{
action = "<cmd>Telescope lsp_references<cr>";
key = "gr";
options = {
silent = true;
desc = "LSP references";
};
}
{
action = "<cmd>lua vim.lsp.buf.hover()<cr>";
key = "K";
options = {
silent = true;
desc = "Hover docs";
};
}
{
action = "<cmd>lua vim.lsp.buf.signature_help()<cr>";
key = "<C-k>";
mode = [
"n"
"i"
];
options = {
silent = true;
desc = "Signature help";
};
}
{
action = "<cmd>lua vim.lsp.buf.rename()<cr>";
key = "<leader>rn";
options = {
silent = true;
desc = "Rename symbol";
};
}
{
action = "<cmd>lua vim.diagnostic.goto_prev()<cr>";
key = "[d";
options = {
silent = true;
desc = "Previous diagnostic";
};
}
{
action = "<cmd>lua vim.diagnostic.goto_next()<cr>";
key = "]d";
options = {
silent = true;
desc = "Next diagnostic";
};
}
{
action = "<cmd>lua vim.diagnostic.open_float()<cr>";
key = "<leader>e";
options = {
silent = true;
desc = "Show diagnostic float";
};
}
]; ];
}; };
}; };
+10 -8
View File
@@ -1,14 +1,15 @@
{ den, modules, ... }:
{ {
den,
modules,
...
}: {
modules.obs = settings: { modules.obs = settings: {
homeManager = homeManager = {
{
pkgs, pkgs,
lib, lib,
config, config,
... ...
}: }: {
{
programs = { programs = {
obs-studio = { obs-studio = {
enable = true; enable = true;
@@ -20,11 +21,12 @@
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture obs-pipewire-audio-capture
obs-vkcapture obs-vkcapture
obs-vaapi #optional AMD hardware acceleration
obs-gstreamer
]; ];
}; };
}; };
systemd.user.services = systemd.user.services = let
let
audio-set = lib.mkIf settings.audio { audio-set = lib.mkIf settings.audio {
pw-discordaudio-virtual-device = { pw-discordaudio-virtual-device = {
Unit = { Unit = {
@@ -63,7 +65,7 @@
lib.mergeAttrsList [audio-set]; lib.mergeAttrsList [audio-set];
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = [ "${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer" ]; # exec-once = ["${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer"];
}; };
}; };
}; };
+20 -4
View File
@@ -22,15 +22,31 @@ Rectangle {
id: content id: content
height: 20 height: 20
anchors.centerIn: parent anchors.centerIn: parent
spacing: 4
Rectangle {
implicitWidth: 24
implicitHeight: 20
color: "transparent"
Text { Text {
id: speaker anchors.centerIn: parent
text: root.defaultSpeaker.audio.muted ? "muted" : "unmuted" text: root.defaultSpeaker.audio.muted ? "󰖁" : "󰕾"
font.family: "CaskaydiaCove NF"
font.pixelSize: 20
color: Colors.textPrimary color: Colors.textPrimary
} }
}
Rectangle {
implicitWidth: 24
implicitHeight: 20
color: "transparent"
radius: 3
Text { Text {
id: mic anchors.centerIn: parent
text: root.defaultMic.audio.muted ? "muted" : "unmuted" text: root.defaultMic.audio.muted ? "" : ""
font.family: "CaskaydiaCove NFM"
font.pixelSize: 30
color: Colors.textPrimary color: Colors.textPrimary
} }
} }
} }
}
+40 -11
View File
@@ -7,29 +7,58 @@
}: { }: {
flake-file.inputs = { flake-file.inputs = {
raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix"; raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix";
nixos-raspberrypi.url = "github:nvmd/nixos-raspberrypi/main";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
modules.raspberry-pi = { modules.raspberry-pi = {
provides = { provides = {
"5" = { "5" = {
nixos = {pkgs, ...}: let nixos = {pkgs, ...}: {
rpi-pi = inputs.raspberry-pi-nix;
in {
imports = [ imports = [
rpi-pi.nixosModules.raspberry-pi # inputs.nixos-hardware.nixosModules.raspberry-pi-5
rpi-pi.nixosModules.sd-image inputs.nixos-raspberrypi.lib.inject-overlays-global
inputs.nixos-raspberrypi.nixosModules.trusted-nix-caches
inputs.nixos-raspberrypi.lib.inject-overlays
inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.base
inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.page-size-16k
inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.display-vc4
inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.bluetooth
inputs.nixos-raspberrypi.nixosModules.sd-image
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libraspberrypi libraspberrypi
]; ];
sdImage.compressImage = false; _module.args = {inherit (inputs) nixos-raspberrypi;};
raspberry-pi-nix.board = "bcm2712"; # Rpi 5 - 64bit
# We need to rebuild kernel for 6.12
# raspberry-pi-nix.kernel-version = "v6_12_17";
raspberry-pi-nix.uboot.enable = false;
hardware.enableRedistributableFirmware = true; sdImage.compressImage = false;
boot.loader.raspberry-pi.bootloader = "kernel";
# boot.initrd.systemd.tpm2.enable = false;
# boot.initrd.allowMissingModules = true;
boot.supportedFilesystems.zfs = false;
# hardware.enableRedistributableFirmware = true;
# fileSystems = {
# "/boot/firmware" = {
# device = "/dev/disk/by-uuid/2175-794E";
# fsType = "vfat";
# options = [
# "noatime"
# "noauto"
# "x-systemd.automount"
# "x-systemd.idle-timeout=1min"
# ];
# };
# "/" = {
# device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
# fsType = "ext4";
# options = ["noatime"];
# };
# };
}; };
}; };
}; };
+5 -5
View File
@@ -3,17 +3,17 @@
__findFile, __findFile,
modules, modules,
... ...
}: }: {
{
# Basic caddy # Basic caddy
modules.services.provides.caddy = { modules.services.provides.caddy = {
nixos = nixos = {config, ...}: {
{ config, ... }:
{
services.caddy = { services.caddy = {
enable = true; enable = true;
email = "doloroo@proton.me"; email = "doloroo@proton.me";
enableReload = true; enableReload = true;
globalConfig = ''
acme_ca https://acme-v02.api.letsencrypt.org/directory
'';
}; };
}; };
}; };
+16 -8
View File
@@ -3,13 +3,14 @@
__findFile, __findFile,
modules, modules,
... ...
}: }: {
{
# Basic traefik # Basic traefik
modules.services.provides.ddns = { modules.services.provides.ddns = {
nixos = nixos = {
{ config, pkgs, ... }: config,
let pkgs,
...
}: let
ddnsImg = pkgs.dockerTools.pullImage { ddnsImg = pkgs.dockerTools.pullImage {
imageName = "qmcgaw/ddns-updater"; imageName = "qmcgaw/ddns-updater";
imageDigest = "sha256:ee16ab4f6203bf9e5b0925d38a0b4ebf2d9f23771f933cfb2f5a2dbd5f9a2f88"; imageDigest = "sha256:ee16ab4f6203bf9e5b0925d38a0b4ebf2d9f23771f933cfb2f5a2dbd5f9a2f88";
@@ -18,8 +19,7 @@
sha256 = "sha256-dMCHkvoFaORmGwbIM9io4Vc9fq+wBks25k2dmnW7naI="; sha256 = "sha256-dMCHkvoFaORmGwbIM9io4Vc9fq+wBks25k2dmnW7naI=";
arch = "arm64"; arch = "arm64";
}; };
in in {
{
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
ddns = { ddns = {
image = "qmcgaw/ddns-updater"; image = "qmcgaw/ddns-updater";
@@ -28,10 +28,18 @@
"/data/ddns:/updater/data" "/data/ddns:/updater/data"
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"
]; ];
# ports = [ "0.0.0.0:8123:8123" ]; ports = ["0.0.0.0:8125:8000"];
# networks = [ "meow" ]; # networks = [ "meow" ];
}; };
}; };
services.caddy = pkgs.lib.mkIf config.services.caddy.enable {
virtualHosts."ddns.h.doloro.co.uk".extraConfig = ''
reverse_proxy :8125
basic_auth {
doloro $2a$14$FH.UkwC0PUsQ7IEV9XLAf.6/11KLsugCbrX/o6dPTx7NBlJWv3aiO
}
'';
};
}; };
}; };
} }
+1 -1
View File
@@ -40,7 +40,7 @@
allowedUDPPortRanges = []; allowedUDPPortRanges = [];
}; };
services.caddy = pkgs.lib.mkIf config.services.caddy.enable { services.caddy = pkgs.lib.mkIf config.services.caddy.enable {
virtualHosts."dockerRegistry.h.doloro.co.uk".extraConfig = '' virtualHosts."https://reg.h.doloro.co.uk".extraConfig = ''
reverse_proxy :5000 reverse_proxy :5000
''; '';
}; };
+3 -3
View File
@@ -8,10 +8,10 @@
ssh = { ssh = {
enable = true; enable = true;
enableDefaultConfig = false; enableDefaultConfig = false;
matchBlocks = { settings = {
"*" = { "*" = {
addKeysToAgent = "yes"; AddKeysToAgent = "yes";
identityFile = [ IdentityFile = [
"~/.ssh/id_ed25519" "~/.ssh/id_ed25519"
"~/.ssh/id_gitea_scug" "~/.ssh/id_gitea_scug"
]; ];
+4 -9
View File
@@ -3,8 +3,7 @@
modules, modules,
inputs, inputs,
... ...
}: }: {
{
flake-file.inputs = { flake-file.inputs = {
stylix = { stylix = {
url = "github:nix-community/stylix"; url = "github:nix-community/stylix";
@@ -12,11 +11,9 @@
}; };
}; };
modules.stylix = { modules.stylix = {
homeManager = homeManager = {pkgs, ...}: {
{ pkgs, ... }:
{
imports = [inputs.stylix.homeModules.stylix]; imports = [inputs.stylix.homeModules.stylix];
gtk.gtk4.theme = null; # gtk.gtk4.theme = null;
stylix = { stylix = {
enable = true; enable = true;
autoEnable = false; autoEnable = false;
@@ -32,9 +29,7 @@
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
}; };
}; };
nixos = nixos = {pkgs, ...}: {
{ pkgs, ... }:
{
imports = [inputs.stylix.nixosModules.stylix]; imports = [inputs.stylix.nixosModules.stylix];
stylix.enable = false; stylix.enable = false;
stylix.autoEnable = false; stylix.autoEnable = false;
+7 -3
View File
@@ -1,10 +1,13 @@
{modules, ...}: { { modules, ... }:
{
modules.tmux = { modules.tmux = {
homeManager = { homeManager =
{
home, home,
pkgs, pkgs,
... ...
}: { }:
{
programs.tmux = { programs.tmux = {
enable = true; enable = true;
plugins = with pkgs.tmuxPlugins; [ plugins = with pkgs.tmuxPlugins; [
@@ -17,6 +20,7 @@
set -g status-bg black set -g status-bg black
set -g status-fg white set -g status-fg white
set -g mouse on set -g mouse on
set -g extended-keys on
''; '';
}; };
}; };
+1 -1
View File
@@ -8,7 +8,7 @@
enable = true; enable = true;
settings = { settings = {
default_session = { default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --sessions ${config.services.xserver.displayManager.sessionData.desktops}/share/xsessions:${config.services.xserver.displayManager.sessionData.desktops}/share/wayland-sessions --remember --remember-user-session --greeting 'meow meow meow' --time"; command = "${pkgs.tuigreet}/bin/tuigreet --sessions ${config.services.displayManager.sessionData.desktops}/share/xsessions:${config.services.displayManager.sessionData.desktops}/share/wayland-sessions --remember --remember-user-session --greeting 'meow meow meow' --time";
user = "greeter"; user = "greeter";
}; };
}; };
+11
View File
@@ -0,0 +1,11 @@
{modules, ...}: {
modules.unity = {
homeManager = {pkgs, ...}: {
home.packages = [pkgs.unityhub pkgs.alcom pkgs.unityhub.fhsEnv];
home.file."unityExec" = {
source = "${pkgs.unityhub}/bin/unityhub";
recursive = true;
};
};
};
}
+15
View File
@@ -0,0 +1,15 @@
{
modules,
den,
inputs,
...
}: {
flake-file.inputs = {
nixos-wsl.url = "github:nix-community/NixOS-WSL";
};
modules.wsl = {
nixos = {
imports = [inputs.nixos-wsl.nixosModules.default];
};
};
}
Generated
+468 -187
View File
File diff suppressed because it is too large Load Diff
+11 -6
View File
@@ -4,6 +4,7 @@
inputs = { inputs = {
den.url = "github:vic/den?ref=8101ec865c0bf4027d40b9fd8951e3e435a86d64"; den.url = "github:vic/den?ref=8101ec865c0bf4027d40b9fd8951e3e435a86d64";
direnv-instant.url = "github:Mic92/direnv-instant";
disko.url = "github:nix-community/disko"; disko.url = "github:nix-community/disko";
flake-file.url = "github:vic/flake-file"; flake-file.url = "github:vic/flake-file";
flake-parts = { flake-parts = {
@@ -21,17 +22,21 @@
}; };
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
import-tree.url = "github:vic/import-tree"; import-tree.url = "github:vic/import-tree";
nik-pkgs = { nik-pkgs.url = "git+https://git.scug.io/nikkuss/pkgs.git";
url = "git+https://git.scug.io/nikkuss/pkgs.git";
inputs.nixpkgs.follows = "nixpkgs";
};
niri-flake = { niri-flake = {
url = "github:sodiboo/niri-flake"; url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
nixvim.url = "github:nix-community/nixvim"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-raspberrypi.url = "github:nvmd/nixos-raspberrypi/main";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main"; omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main";
raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix"; raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix";
sops-nix = { sops-nix = {