Compare commits

...

13 Commits

3 changed files with 38 additions and 31 deletions

View File

@@ -3,7 +3,7 @@
{ {
imports = [ imports = [
./01_shaders_bar-spectrum.nix ./01_shaders_bar-spectrum.nix
./02_shaders_nothern-lights.nix ./02_shaders_northern-lights.nix
./03_shaders_pass-through.nix ./03_shaders_pass-through.nix
./04_shaders_spectrogram.nix ./04_shaders_spectrogram.nix
./05_shaders_winamp-line-style-spectrum.nix ./05_shaders_winamp-line-style-spectrum.nix

View File

@@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.file.".config/eww/windows/ascii/audio_status.yuck".text = '' home.file.".config/eww/windows/ascii/audio_status.yuck".source = ''
;; audio_status ;; audio_status
;; Text displaying audio status. ;; Text displaying audio status.
;; Anchored top outside visualizer ;; Anchored top outside visualizer
@@ -19,7 +19,7 @@
) )
''; '';
home.file.".config/eww/windows/ascii/visualizer_window.yuck".text = '' home.file.".config/eww/windows/ascii/visualizer_window.yuck".source = ''
;; visualizer window ;; visualizer window
;; Displays ASCII visual for audio activity. ;; Displays ASCII visual for audio activity.
;; Anchored very top ;; Anchored very top
@@ -58,7 +58,7 @@
:class "visualizer-text")))) :class "visualizer-text"))))
''; '';
home.file.".config/eww/windows/bar/cpu_ram_storage_bars.yuck".text = '' home.file.".config/eww/windows/bar/cpu_ram_storage_bars.yuck".source = ''
;; CPU RAM Storage ;; CPU RAM Storage
;; Text displaying cpu load, ram usage, storage ;; Text displaying cpu load, ram usage, storage
;; Anchored middle left ;; Anchored middle left
@@ -104,7 +104,7 @@
) )
''; '';
home.file.".config/eww/windows/misc/welcome_text.yuck".text = '' home.file.".config/eww/windows/misc/welcome_text.yuck".source = ''
;; welcome text ;; welcome text
;; Text displaying date and weather in cyrilic ;; Text displaying date and weather in cyrilic
;; Anchored right screen ;; Anchored right screen
@@ -127,7 +127,7 @@
) )
''; '';
home.file.".config/eww/windows/net/ascii_decor_frame.yuck".text = '' home.file.".config/eww/windows/net/ascii_decor_frame.yuck".source = ''
;; ascii decor frame ;; ascii decor frame
;; Text displaying audio status. ;; Text displaying audio status.
;; Anchored top inside visualizer ;; Anchored top inside visualizer
@@ -145,7 +145,7 @@
) )
''; '';
home.file.".config/eww/windows/net/net_bars.yuck".text = '' home.file.".config/eww/windows/net/net_bars.yuck".source = ''
;; net bars ;; net bars
;; Text header and vectors showing network info ;; Text header and vectors showing network info
;; Anchored bottom ;; Anchored bottom
@@ -197,7 +197,7 @@
) )
''; '';
home.file.".config/eww/windows/net/right_internet_text.yuck".text = '' home.file.".config/eww/windows/net/right_internet_text.yuck".source = ''
;; right internet text ;; right internet text
;; Text displaying ping and vpn status ;; Text displaying ping and vpn status
;; Anchored top very bottom right ;; Anchored top very bottom right
@@ -223,7 +223,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/active_workspace.yuck".text = '' home.file.".config/eww/windows/sys/active_workspace.yuck".source = ''
;; active workspace ;; active workspace
;; Text displaying active/inactive workspaces ;; Text displaying active/inactive workspaces
;; Anchored middle right ;; Anchored middle right
@@ -274,7 +274,7 @@
;; (label :text "Workspace 4" :class "label-primary"))) ;; (label :text "Workspace 4" :class "label-primary")))
''; '';
home.file.".config/eww/windows/sys/four_boxes.yuck".text = '' home.file.".config/eww/windows/sys/four_boxes.yuck".source = ''
;; four boxes ;; four boxes
;; four boxes showing uptime, battery life, cpu temp, gpu temp ;; four boxes showing uptime, battery life, cpu temp, gpu temp
;; Anchored top ;; Anchored top
@@ -320,7 +320,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/orange_workspace.yuck".text = '' home.file.".config/eww/windows/sys/orange_workspace.yuck".source = ''
;; orange workspace ;; orange workspace
;; Vectors displaying reactor number in cyrilic text ;; Vectors displaying reactor number in cyrilic text
;; Anchored middle right ;; Anchored middle right
@@ -339,7 +339,7 @@
(box :class "info-right-box" :valign "end" :halign "start" (label :text "Г4" :class "info-right-text" )))) (box :class "info-right-box" :valign "end" :halign "start" (label :text "Г4" :class "info-right-text" ))))
''; '';
home.file.".config/eww/windows/sys/power_cooling_header_text.yuck".text = '' home.file.".config/eww/windows/sys/power_cooling_header_text.yuck".source = ''
;; power cooling header ;; power cooling header
;; Text displaying header for cooling and power ;; Text displaying header for cooling and power
;; Anchored bottom ;; Anchored bottom
@@ -364,7 +364,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/power_mode_text.yuck".text = '' home.file.".config/eww/windows/sys/power_mode_text.yuck".source = ''
;; power mode text ;; power mode text
;; Text displaying power in cyrilic text ;; Text displaying power in cyrilic text
;; Anchored bottom left ;; Anchored bottom left
@@ -410,7 +410,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/right_fan-data.yuck".text = '' home.file.".config/eww/windows/sys/right_fan-data.yuck".source = ''
;; right fan data ;; right fan data
;; Text displaying cooling and fan RPM ;; Text displaying cooling and fan RPM
;; Anchored bottom right ;; Anchored bottom right
@@ -451,7 +451,7 @@
) )
''; '';
home.file.".config/eww/windows/sys/workspace_window_text.yuck".text = '' home.file.".config/eww/windows/sys/workspace_window_text.yuck".source = ''
;; workspace window text ;; workspace window text
;; Text and ascii showing active workspace number ;; Text and ascii showing active workspace number
;; Anchored top middle ;; Anchored top middle

View File

@@ -1,13 +1,18 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# let
# home-manager = builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz;
# in
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos> # <home-manager/nixos>
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.registry.nixpkgs.flake = nixpkgs;
# nix.registry.nixpkgs.flake = nixpkgs;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.extraInit = '' environment.extraInit = ''
export NIXPKGS_ALLOW_UNFREE=1 export NIXPKGS_ALLOW_UNFREE=1
@@ -27,16 +32,16 @@
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
networking = { networking = {
hostname = "persephone"; hostName = "persephone";
networkmanager.enable = true; networkmanager.enable = true;
interfaces.wlan0.matchConfig.MACAddress = "ca:12:ab:3c:d5:a9"; # interfaces.wlan0.ipv4.addresses = [
interfaces.wlan0.ipv4.addresses = [ # {
{ # address = "192.168.1.100";
address = "192.168.1.100"; # prefixLength = 24;
prefixLength = 24; # }
} # ];
]; defaultGateway.address = "192.168.1.1";
ipv4.gateway = "192.168.1.1"; defaultGateway.interface = "wlan0";
nameservers = [ "1.1.1.1" "8.8.8.8" ]; nameservers = [ "1.1.1.1" "8.8.8.8" ];
}; };
@@ -63,7 +68,6 @@
appimage-run appimage-run
btop btop
exfat exfat
exfat-progs
libappimage libappimage
gearlever gearlever
git git
@@ -99,11 +103,14 @@
extraGroups = [ "wheel" "audio" "video" ]; extraGroups = [ "wheel" "audio" "video" ];
}; };
programs.zsh.enable = true;
services.xserver.enable = true;
services.xserver.displayManager.lightdm.enable = true; services.xserver.displayManager.lightdm.enable = true;
services.displayManager.autologin = { # services.displayManager.autoLogin = {
enable = true; # enable = true;
user = "nubfriedrice"; # user = "nubfriedrice";
}; # };
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
programs.mtr.enable = true; programs.mtr.enable = true;