Compare commits

..

No commits in common. "b236928e2b36e1cd25995bdf46920e4c69bd1743" and "f5419ea3f43f269bd56e161ed3949e3b9bbf758e" have entirely different histories.

16 changed files with 508 additions and 500 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,13 +26,14 @@
bernbot.url = "github:yusdacra/bernbot";
bernbot.inputs.nixpkgs.follows = "nixpkgs";
conduit.url = "gitlab:famedly/conduit/next";
blender-bin.url = "github:edolstra/nix-warez?dir=blender";
blender-bin.inputs.nixpkgs.follows = "nixpkgs";
conduit.url = "gitlab:famedly/conduit";
conduit.inputs.nixpkgs.follows = "nixpkgs";
# nil.url = "github:oxalica/nil";
# nil.inputs.nixpkgs.follows = "nixpkgs";
nixd.url = "github:nix-community/nixd";
nixd.inputs.nixpkgs.follows = "nixpkgs";
nil.url = "github:oxalica/nil";
nil.inputs.nixpkgs.follows = "nixpkgs";
stylix.url = "github:yusdacra/stylix/fixed";
stylix.inputs.nixpkgs.follows = "nixpkgs";
@ -53,9 +54,6 @@
limbusart.url = "git+https://git.gaze.systems/dusk/limbusart.git";
limbusart.inputs.nixpkgs.follows = "nixpkgs";
steam-tui.url = "github:dmadisetti/steam-tui";
steam-tui.inputs.nixpkgs.follows = "nixpkgs";
# needed for hyprland setup
# hyprland.url = "github:hyprwm/Hyprland";
# hyprland.inputs.nixpkgs.follows = "nixpkgs";
@ -84,28 +82,16 @@
miscApps =
lib.mapAttrs
(
_: cmds:
lib.mapAttrs
(_: cmd: {
_: pkgs: {
generate-firefox-addons = {
type = "app";
program = cmd;
})
cmds
)
(
lib.mapAttrs
(
_: pkgs: {
generate-firefox-addons =
program =
toString
"${pkgs.generate-firefox-addons}/bin/generate-firefox-addons";
# buildHost = {
# type = "app";
# };
}
)
allPkgs
);
};
}
)
allPkgs;
in {
lib = tlib;
nixosConfigurations = import ./hosts {inherit lib tlib inputs;};

View File

@ -159,5 +159,11 @@ in {
xserver.videoDrivers = ["amdgpu"];
};
virtualisation = {
waydroid.enable = false;
podman.enable = false;
libvirtd.enable = false;
};
system.stateVersion = "22.05";
}

View File

@ -5,7 +5,7 @@
lib,
...
}: let
bernbotPkg = inputs.bernbot.packages.${pkgs.system}.bernbot-release;
bernbotPkg = inputs.bernbot.packages.${pkgs.system}.bernbot;
in {
systemd.services.bernbot = {
description = "bernbot";

View File

@ -1,12 +1,17 @@
{lib, ...}: let
{
pkgs,
lib,
...
}: let
l = lib // builtins;
mkRule = name: type: {
inherit name type;
};
mkRule = name: type:
l.toJSON {
inherit name type;
};
in {
services.ananicy = {
enable = true;
extraRules = [
extraRules = l.concatStringsSep "\n" [
# coompilers
(mkRule "g++" "BG_CPUIO")
(mkRule "gcc" "BG_CPUIO")

View File

@ -0,0 +1,15 @@
_: prev: let
flags = [
"--ignore-gpu-blocklist"
"--disable-gpu-driver-bug-workarounds"
"--enable-features=WebUIDarkMode"
"--enable-gpu-rasterization"
"--enable-zero-copy"
"--force-dark-mode"
"--enable-webrtc-pipewire-capturer"
"--ozone-platform-hint=auto"
];
mkCliArgs = flags: prev.lib.concatStringsSep " " flags;
in {
chromium = prev.chromium.override {commandLineArgs = mkCliArgs flags;};
}

View File

@ -1,3 +0,0 @@
{inputs}: final: prev: {
steam-tui = inputs.steam-tui.packages.${final.system}.default;
}

View File

@ -7,17 +7,20 @@
enable = true;
commandLineArgs = [
"--ozone-platform-hint=auto"
"--enable-features=WaylandWindowDecorations"
"--enable-crashpad"
"--flag-switches-begin"
"--enable-webrtc-pipewire-capturer"
# "--force-dark-mode"
# "--enable-gpu-rasterization"
# "--enable-zero-copy"
# "--ignore-gpu-blocklist"
# "--disable-gpu-driver-bug-workarounds"
"--enable-gpu-rasterization"
"--enable-unsafe-webgpu"
"--enable-zero-copy"
"--ignore-gpu-blocklist"
"--disable-gpu-driver-bug-workarounds"
"--ozone-platform-hint=wayland"
"--enable-features=SystemNotifications,WaylandWindowDecorations,WebRTCPipeWireCapturer"
"--enable-features=SystemNotifications,WaylandWindowDecorations,CanvasOopRasterization,EnableDrDc,RawDraw,WebRTCPipeWireCapturer"
"--disable-features=Vulkan"
"--flag-switches-end"
"--disk-cache-dir=\"$XDG_RUNTIME_DIR/chromium-cache\""
"--process-per-site"
];
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin

View File

@ -9,12 +9,12 @@
".config/discordcanary"
];
xdg.configFile."discordcanary/settings.json".text = builtins.toJSON {
# openasar = {
# setup = true;
# noTyping = true;
# quickstart = true;
# # theme = builtins.readFile inputs.catppuccin-discord;
# };
openasar = {
setup = true;
noTyping = true;
quickstart = true;
theme = builtins.readFile inputs.catppuccin-discord;
};
SKIP_HOST_UPDATE = true;
IS_MAXIMIZED = true;
IS_MINIMIZED = false;
@ -38,7 +38,7 @@
pkg =
(pkgs.discord-canary.override {
nss = pkgs.nss_latest;
# withOpenASAR = true;
withOpenASAR = true;
})
.overrideAttrs (old: {
preInstall = ''

View File

@ -6,7 +6,7 @@
stylix.targets.helix.enable = false;
programs.helix = {
enable = true;
languages.language = [
languages = [
{
name = "dockerfile";
roots = ["Dockerfile" "Containerfile"];
@ -14,12 +14,9 @@
}
{
name = "nix";
language-servers = ["nixd-lsp"];
language-server = {command = "${inputs.nil.packages.${pkgs.system}.default}/bin/nil";};
}
];
languages.language-server = {
nixd-lsp = {command = "${inputs.nixd.packages.${pkgs.system}.default}/bin/nixd";};
};
settings = {
theme = "ferra";
editor = {

View File

@ -1,6 +0,0 @@
{config, pkgs, ...}: {
home.packages = [pkgs.ripcord];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".local/share/Ripcord"
];
}

View File

@ -1,13 +1,12 @@
{pkgs, ...}: {
programs.swaylock = {
package = pkgs.swaylock-effects;
settings = {
screenshot = true;
ignore-empty-password = true;
clock = true;
effect-scale = "0.5";
effect-greyscale = true;
effect-blur = "20x3";
};
home.packages = [pkgs.swaylock-effects];
programs.swaylock.settings = {
screenshot = true;
ignore-empty-password = true;
clock = true;
effect-scale = "0.5";
effect-greyscale = true;
effect-blur = "20x3";
};
}

View File

@ -24,17 +24,9 @@ in {
};
}
];
# configure history
history = {
extended = true;
ignorePatterns = ["rm *" "mv *" "l" "ls" "ll" "g s" "git status"];
save = 1000000;
size = 1000000;
};
# xdg compliant
dotDir = ".config/zsh";
history.path = "${config.home.homeDirectory}/.local/share/zsh/history";
# extra stuff for fixing gpg-agent ssh and some random commands
initExtra = ''
${
lib.optionalString

View File

@ -112,7 +112,7 @@ in {
# cli stuff
["zoxide" "zsh" "fzf" "starship" "direnv"]
# dev stuff
["helix" "git" "ssh"]
["helix" "code" "git" "ssh"]
["musikcube" "musikcubed"]
];
in
@ -182,7 +182,7 @@ in {
font-awesome
dejavu_fonts
# Programs
pixelorama
inputs.blender-bin.packages.x86_64-linux.default
krita
gnupg
imv
@ -198,8 +198,7 @@ in {
helvum
nix-output-monitor
# prismlauncher
steamPackages.steamcmd
steam-tui
godot_4
];
};
programs = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB