Compare commits

...

5 commits

Author SHA1 Message Date
Emmet d1f9153276 Fix hardening script in auto install 2024-02-26 20:39:34 -06:00
Emmet 4bdb33ff76 Fix auto-install for other usernamesc 2024-02-26 20:35:27 -06:00
Emmet ac9165a700 New 3 monitor setup 2024-02-26 19:57:16 -06:00
Emmet 4a5c280bf3 No longer any reason for flatpaks 2024-02-26 19:57:08 -06:00
Emmet 21aecc8334 Quick ranger keybind update 2024-02-26 19:51:57 -06:00
6 changed files with 13 additions and 19 deletions

View file

@ -4,12 +4,13 @@
nix-shell -p git --command "git clone https://gitlab.com/librephoenix/nixos-config ~/.dotfiles" nix-shell -p git --command "git clone https://gitlab.com/librephoenix/nixos-config ~/.dotfiles"
sudo nixos-generate-config --show-hardware-config > ~/.dotfiles/system/hardware-configuration.nix sudo nixos-generate-config --show-hardware-config > ~/.dotfiles/system/hardware-configuration.nix
sed -i "0,/emmet/s//$(whoami)/" flake.nix sed -i "0,/emmet/s//$(whoami)/" ~/.dotfiles/flake.nix
sed -i "0,/Emmet/s//$(getent passwd $(whoami) | cut -d ':' -f 5 | cut -d ',' -f 1)/" flake.nix sed -i "0,/Emmet/s//$(getent passwd $(whoami) | cut -d ':' -f 5 | cut -d ',' -f 1)/" ~/.dotfiles/flake.nix
sed -i "s/emmet@librephoenix.com//" ~/.dotfiles/flake.nix
if [ -z "$EDITOR" ]; then if [ -z "$EDITOR" ]; then
EDITOR=nano; EDITOR=nano;
fi fi
$EDITOR ~/.dotfiles/flake.nix; $EDITOR ~/.dotfiles/flake.nix;
sudo nixos-rebuild switch --flake ~/.dotfiles#system; sudo nixos-rebuild switch --flake ~/.dotfiles#system;
nix run home-manager/master --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake ~/.dotfiles#user; nix run home-manager/master --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake ~/.dotfiles#user;
sudo ~/.dotfiles/harden.sh; sudo ~/.dotfiles/harden.sh ~/.dotfiles;

View file

@ -14,7 +14,7 @@
../../system/hardware/printing.nix ../../system/hardware/printing.nix
../../system/hardware/bluetooth.nix ../../system/hardware/bluetooth.nix
(./. + "../../../system/wm"+("/"+userSettings.wm)+".nix") # My window manager (./. + "../../../system/wm"+("/"+userSettings.wm)+".nix") # My window manager
../../system/app/flatpak.nix #../../system/app/flatpak.nix
../../system/app/virtualization.nix ../../system/app/virtualization.nix
( import ../../system/app/docker.nix {storageDriver = "btrfs"; inherit userSettings lib;} ) ( import ../../system/app/docker.nix {storageDriver = "btrfs"; inherit userSettings lib;} )
../../system/security/doas.nix ../../system/security/doas.nix

View file

@ -21,7 +21,7 @@
../../user/app/keepass/keepass.nix # My password manager ../../user/app/keepass/keepass.nix # My password manager
(./. + "../../../user/app/browser"+("/"+userSettings.browser)+".nix") # My default browser selected from flake (./. + "../../../user/app/browser"+("/"+userSettings.browser)+".nix") # My default browser selected from flake
../../user/app/virtualization/virtualization.nix # Virtual machines ../../user/app/virtualization/virtualization.nix # Virtual machines
../../user/app/flatpak/flatpak.nix # Flatpaks #../../user/app/flatpak/flatpak.nix # Flatpaks
../../user/style/stylix.nix # Styling and themes for my apps ../../user/style/stylix.nix # Styling and themes for my apps
../../user/lang/cc/cc.nix # C and C++ tools ../../user/lang/cc/cc.nix # C and C++ tools
../../user/lang/godot/godot.nix # Game development ../../user/lang/godot/godot.nix # Game development
@ -97,12 +97,11 @@
#blockbench-electron #blockbench-electron
cura cura
obs-studio obs-studio
#install kdenlive via flatpak due to missing plugins kdenlive
#kdenlive
ffmpeg ffmpeg
(pkgs.writeScriptBin "kdenlive-accel" '' (pkgs.writeScriptBin "kdenlive-accel" ''
#!/bin/sh #!/bin/sh
DRI_PRIME=0 flatpak run org.kde.kdenlive "$1" DRI_PRIME=0 kdenlive "$1"
'') '')
movit movit
mediainfo mediainfo

View file

@ -1,4 +1,4 @@
{ config, pkgs, pkgs-stable, ... }: { pkgs, pkgs-stable, ... }:
let let
myRetroarch = myRetroarch =
(pkgs.retroarch.override { (pkgs.retroarch.override {
@ -64,11 +64,5 @@ in
url = "https://github.com/libretro/libretro-core-info/archive/refs/tags/v1.15.0.tar.gz"; url = "https://github.com/libretro/libretro-core-info/archive/refs/tags/v1.15.0.tar.gz";
sha256 = "004kgbsgbk7hn1v01jg3vj4b6dfb2cp3kcp5hgjyl030wqg1r22q"; sha256 = "004kgbsgbk7hn1v01jg3vj4b6dfb2cp3kcp5hgjyl030wqg1r22q";
}; };
# To get steam to import into gamehub, first install it as a flatpak, then
# Set steam directory to ~/.var/app/com.valvesoftware.Steam/.steam
#services.flatpak.packages = [
# "com.discordapp.Discord"
# "com.jaquadro.NBTExplorer"
#];
} }

View file

@ -447,7 +447,7 @@ map } traverse
map { traverse_backwards map { traverse_backwards
map ) jump_non map ) jump_non
map gh cd ~ map gh chain set sort=basename; set sort_reverse=False; cd ~
map ga cd ~/Archive map ga cd ~/Archive
map gd cd ~/Downloads map gd cd ~/Downloads
map gm cd ~/Media map gm cd ~/Media

View file

@ -219,9 +219,9 @@
bind=SUPERSHIFT,P,exec,hyprprofile-dmenu bind=SUPERSHIFT,P,exec,hyprprofile-dmenu
# 3 monitor setup # 3 monitor setup
monitor=eDP-1,1920x1080,1000x1200,1 monitor=eDP-1,1920x1080,1000x1080,1
monitor=HDMI-A-1,1920x1200,1920x0,1 monitor=HDMI-A-1,1920x1080,1920x0,1
monitor=DP-1,1920x1200,0x0,1 monitor=DP-1,1920x1080,0x0,1
# 2 monitor setup # 2 monitor setup
#monitor=eDP-1,1920x1080,1920x0,1 #monitor=eDP-1,1920x1080,1920x0,1