modified: assets/.bashrc

modified:   assets/avatar.png
	modified:   home.nix
	modified:   hosts/blackstar/nixos/configuration.nix
	modified:   hosts/shared/nixos/shared_config.nix
	modified:   modules/desktop/apps/art.nix
	modified:   modules/desktop/apps/cad.nix
	modified:   modules/desktop/apps/cam.nix
	modified:   modules/desktop/apps/chat.nix
	modified:   modules/desktop/apps/code.nix
	modified:   modules/desktop/apps/godot.nix
	modified:   modules/desktop/apps/minecraft.nix
	modified:   modules/desktop/apps/xiv.nix
	modified:   modules/system/audio.nix
    new file:   modules/system/boot/.grub.nix.swp
	modified:   modules/system/boot/grub.nix
	modified:   pkgs/default.nix
    new file:   pkgs/wallpaper-engine.nix
This commit is contained in:
Mrrp 2024-08-25 08:40:03 -07:00
parent 3d3629b97f
commit fc1fada503
18 changed files with 127 additions and 34 deletions

View file

@ -0,0 +1 @@
hyfetch

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View file

@ -129,7 +129,7 @@
}; };
programs.git = { programs.git = {
userName = "Seven Of Aces"; userName = "Seven of Aces";
userEmail = "sevenofaces42@gmail.com"; userEmail = "sevenofaces42@gmail.com";
}; };
} }

View file

@ -40,11 +40,12 @@
minecraft.enable = true; minecraft.enable = true;
chat.enable = true; chat.enable = true;
}; };
system.boot.grub.enable = true; # system.boot.grub.enable = true;
system.audio.enable = true;
}; };
#boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
nixpkgs = { nixpkgs = {
# You can add overlays here # You can add overlays here

View file

@ -7,7 +7,8 @@
... ...
}: { }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
steam
wallpaper_engine
# code # code
cargo rustc # Rust cargo rustc # Rust
jetbrains.pycharm-professional jetbrains.pycharm-professional
@ -46,14 +47,30 @@
# other # other
discord discord
nodejs_22 nodejs_22
obs-studio
# sys utils # sys utils
gnupg ffmpeg unzip gnupg ffmpeg unzip
mpv gparted mpv gparted
libappindicator-gtk3 libappindicator-gtk3
pavucontrol
hyfetch
]; ];
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
services.pipewire.wireplumber.enable = true;
services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
};
};
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.firefox.enable = true; programs.firefox.enable = true;

View file

@ -4,13 +4,15 @@ with lib;
let cfg = config.modules.desktop.apps.art; let cfg = config.modules.desktop.apps.art;
in { in {
options.modules.desktop.apps.art = { options.modules.desktop.apps.art = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
aseprite aseprite
krita krita
lmms
inkscape
]; ];
}; };
} }

View file

@ -4,11 +4,11 @@ with lib;
let cfg = config.modules.desktop.apps.cad; let cfg = config.modules.desktop.apps.cad;
in { in {
options.modules.desktop.apps.cad = { options.modules.desktop.apps.cad = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
(blender.override { (blender.override {
cudaSupport = true; cudaSupport = true;
}) })

View file

@ -4,11 +4,11 @@ with lib;
let cfg = config.modules.desktop.apps.cam; let cfg = config.modules.desktop.apps.cam;
in { in {
options.modules.desktop.apps.cam = { options.modules.desktop.apps.cam = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
prusa-slicer prusa-slicer
]; ];
}; };

View file

@ -4,13 +4,13 @@ with lib;
let cfg = config.modules.desktop.apps.chat; let cfg = config.modules.desktop.apps.chat;
in { in {
options.modules.desktop.apps.chat = { options.modules.desktop.apps.chat = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
discord discord
element-app element-desktop
]; ];
}; };
} }

View file

@ -4,11 +4,17 @@ with lib;
let cfg = config.modules.desktop.apps.code; let cfg = config.modules.desktop.apps.code;
in { in {
options.modules.desktop.apps.code = { options.modules.desktop.apps.code = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs.unstable; [ programs.nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc.lib
];
};
environment.systemPackages = with pkgs; [
rustc rustup # Rust rustc rustup # Rust
# pkgs.rust-bin.stable.latest.default # pkgs.rust-bin.stable.latest.default
jetbrains.idea-ultimate jetbrains.idea-ultimate
@ -21,6 +27,16 @@ in {
python3 python3
lua lua
git git
github-desktop
distrobox
# -- C/C++
gcc
libgcc
gnumake
cmake
extra-cmake-modules
]; ];
}; };
} }

View file

@ -4,13 +4,21 @@ with lib;
let cfg = config.modules.desktop.apps.godot; let cfg = config.modules.desktop.apps.godot;
in { in {
options.modules.desktop.apps.godot = { options.modules.desktop.apps.godot = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs.unstable; [ programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
libgcc
];
environment.systemPackages = with pkgs.unstable; [
godot_4 godot_4
godot_4-export-templates godot_4-export-templates
gcc-unwrapped
]; ];
environment.sessionVariables = { LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; };
}; };
} }

View file

@ -4,11 +4,11 @@ with lib;
let cfg = config.modules.desktop.apps.minecraft; let cfg = config.modules.desktop.apps.minecraft;
in { in {
options.modules.desktop.apps.minecraft = { options.modules.desktop.apps.minecraft = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
modrinth-app modrinth-app
]; ];
environment.variables = { environment.variables = {

View file

@ -4,11 +4,11 @@ with lib;
let cfg = config.modules.desktop.apps.xiv; let cfg = config.modules.desktop.apps.xiv;
in { in {
options.modules.desktop.apps.xiv = { options.modules.desktop.apps.xiv = {
enable = mkBoolOpt false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
user.packages = with pkgs; [ environment.systemPackages = with pkgs; [
xivlauncher xivlauncher
]; ];
}; };

View file

@ -4,7 +4,7 @@ with lib;
let cfg = config.modules.system.audio; let cfg = config.modules.system.audio;
in { in {
options.modules.system.audio = { options.modules.system.audio = {
enable = mkBoolOpt true; enable = mkEnableOption true;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {

Binary file not shown.

View file

@ -4,14 +4,17 @@ with lib;
let cfg = config.modules.system.boot.grub; let cfg = config.modules.system.boot.grub;
in { in {
options.modules.system.boot.grub = { options.modules.system.boot.grub = {
enable = mkBoolOpt true; enable = mkEnableOption true;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
boot.loader = { boot.loader = {
systemd-boot.enable = false;
grub = { grub = {
enable = true; # efiInstallAsRemovable = true;
useOSProver = true; enable = true;
useOSProber = true;
efiSupport = true; efiSupport = true;
fsIdentifier = "label"; fsIdentifier = "label";
devices = [ "nodev" ]; devices = [ "nodev" ];
@ -20,9 +23,9 @@ in {
reboot reboot
} }
menuentry "Poweroff" { menuentry "Poweroff" {
halt halt
} }
''; '';
theme = pkgs.stdenv.mkDerivation { theme = pkgs.stdenv.mkDerivation {
pname = "distro-grub-themes"; pname = "distro-grub-themes";
version = "3.1"; version = "3.1";
@ -37,6 +40,7 @@ in {
}; };
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
}; };
}; };
}; };

View file

@ -2,5 +2,5 @@
# You can build them using 'nix build .#example' # You can build them using 'nix build .#example'
pkgs: { pkgs: {
# example = pkgs.callPackage ./example { };; # example = pkgs.callPackage ./example { };;
custom_godot = pkgs.callPackage ./custom_godot {}; wallpaper_engine = pkgs.callPackage ./wallpaper-engine {};
} }

44
pkgs/wallpaper-engine.nix Normal file
View file

@ -0,0 +1,44 @@
{ mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, plasma-framework
, gst-libav
, mpv
, websockets
, qtwebsockets
, qtwebchannel
, qtdeclarative
, qtx11extras
, vulkan-headers
, vulkan-loader
, vulkan-tools
, pkg-config
, lz4
, glslang
}:
mkDerivation rec {
pname = "wallpaper-engine-kde-plugin";
version = "0.5.3";
cmakeFlags = [ "-DUSE_PLASMAPKG=ON" ];
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
buildInputs = [
plasma-framework mpv qtwebsockets websockets qtwebchannel
qtdeclarative qtx11extras lz4
vulkan-headers vulkan-tools vulkan-loader
];
postPatch = ''
rmdir src/backend_scene/third_party/glslang
ln -s ${glslang.src} src/backend_scene/third_party/glslang
'';
src = fetchFromGitHub {
owner = "catsout";
repo = pname;
rev = "v${version}";
sha256 = "qmg+g1you3rm1EAfZWRUBBkEQm1QQ0V9/mIn8bBgbu4=";
};
}