mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-08 10:11:27 +01:00
Fix Multiple Files & Theme Changing Script
This commit is contained in:
parent
8ee148c2f0
commit
0f214eac96
@ -3,14 +3,10 @@
|
||||
{
|
||||
# Install Packages For The User
|
||||
home.packages = with pkgs; [
|
||||
pkgs."${browser}" neofetch lolcat cmatrix discord htop btop libvirt
|
||||
swww polkit_gnome grim slurp lm_sensors unzip unrar gnome.file-roller
|
||||
libnotify swaynotificationcenter rofi-wayland imv v4l-utils
|
||||
ydotool wl-clipboard socat cowsay lsd pkg-config transmission-gtk mpv
|
||||
gimp obs-studio blender kdenlive meson hugo gnumake ninja go
|
||||
nodejs godot_4 rustup pavucontrol audacity zeroad xonotic
|
||||
openra font-awesome symbola noto-fonts-color-emoji material-icons
|
||||
spotify brightnessctl swayidle vim wget curl neovide neovim
|
||||
pkgs."${browser}" discord libvirt swww grim slurp gnome.file-roller
|
||||
swaynotificationcenter rofi-wayland imv transmission-gtk mpv
|
||||
gimp obs-studio blender kdenlive godot_4 rustup pavucontrol audacity
|
||||
zeroad xonotic openra font-awesome spotify swayidle vim neovide neovim
|
||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||
# Import Scripts
|
||||
(import ./../scripts/emopicker9000.nix { inherit pkgs; })
|
||||
|
@ -7,7 +7,8 @@ pkgs.writeShellScriptBin "themechange" ''
|
||||
replacement="$1"
|
||||
sed -i "/^\s*theme[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$replacement\"/" ${flakeDir}/flake.nix
|
||||
sudo nixos-rebuild switch --flake ${flakeDir}
|
||||
${pkgs.toybox}/bin/pkill swaync
|
||||
${pkgs.swaynotificationcenter}/bin/swaync &
|
||||
sleep 1
|
||||
${pkgs.swaynotificationcenter}/bin/swaync-client -R
|
||||
${pkgs.swaynotificationcenter}/bin/swaync-client -rs
|
||||
fi
|
||||
''
|
||||
|
@ -1,8 +0,0 @@
|
||||
{ config, pkgs, userPrograms, ... }:
|
||||
|
||||
{
|
||||
# List System Programs
|
||||
environment.systemPackages = with pkgs; [
|
||||
"${userPrograms}"
|
||||
];
|
||||
}
|
12
default.nix
12
default.nix
@ -11,8 +11,7 @@ in {
|
||||
./config/system/boot.nix
|
||||
./config/system/intel-opengl.nix
|
||||
./config/system/amd-opengl.nix
|
||||
./config/system/programs.nix { inherit userPrograms; }
|
||||
# ./config/system/autorun.nix
|
||||
./config/system/autorun.nix
|
||||
];
|
||||
|
||||
# Enable networking
|
||||
@ -48,6 +47,15 @@ in {
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# List System Programs
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget curl cmatrix lolcat neofetch htop btop libvirt
|
||||
polkit_gnome lm_sensors unzip unrar libnotify
|
||||
v4l-utils ydotool wl-clipboard socat cowsay lsd
|
||||
pkg-config meson hugo gnumake ninja go nodejs symbola
|
||||
noto-fonts-color-emoji material-icons brightnessctl
|
||||
];
|
||||
|
||||
# Steam Configuration
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
@ -1 +0,0 @@
|
||||
# just enter names of packages space separated 😉
|
Loading…
Reference in New Issue
Block a user