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 = {
userName = "Seven Of Aces";
userName = "Seven of Aces";
userEmail = "sevenofaces42@gmail.com";
};
}

View file

@ -40,11 +40,12 @@
minecraft.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.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nixpkgs = {
# You can add overlays here

View file

@ -7,7 +7,8 @@
...
}: {
environment.systemPackages = with pkgs; [
steam
wallpaper_engine
# code
cargo rustc # Rust
jetbrains.pycharm-professional
@ -46,14 +47,30 @@
# other
discord
nodejs_22
obs-studio
# sys utils
gnupg ffmpeg unzip
mpv gparted
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.firefox.enable = true;

View file

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

View file

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

View file

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

View file

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

View file

@ -4,11 +4,17 @@ with lib;
let cfg = config.modules.desktop.apps.code;
in {
options.modules.desktop.apps.code = {
enable = mkBoolOpt false;
enable = mkEnableOption false;
};
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
# pkgs.rust-bin.stable.latest.default
jetbrains.idea-ultimate
@ -21,6 +27,16 @@ in {
python3
lua
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;
in {
options.modules.desktop.apps.godot = {
enable = mkBoolOpt false;
enable = mkEnableOption false;
};
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-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;
in {
options.modules.desktop.apps.minecraft = {
enable = mkBoolOpt false;
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
environment.systemPackages = with pkgs; [
modrinth-app
];
environment.variables = {

View file

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

View file

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

Binary file not shown.

View file

@ -4,14 +4,17 @@ with lib;
let cfg = config.modules.system.boot.grub;
in {
options.modules.system.boot.grub = {
enable = mkBoolOpt true;
enable = mkEnableOption true;
};
config = mkIf cfg.enable {
boot.loader = {
systemd-boot.enable = false;
grub = {
# efiInstallAsRemovable = true;
enable = true;
useOSProver = true;
useOSProber = true;
efiSupport = true;
fsIdentifier = "label";
devices = [ "nodev" ];
@ -37,6 +40,7 @@ in {
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
};

View file

@ -2,5 +2,5 @@
# You can build them using 'nix build .#example'
pkgs: {
# 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=";
};
}