mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Compare commits
No commits in common. "d1f915327631b5c320be497f5135e985f144875e" and "6f86d8c0f5ed2dce11ca2130d74c2468d910eb7e" have entirely different histories.
d1f9153276
...
6f86d8c0f5
|
@ -4,13 +4,12 @@
|
||||||
|
|
||||||
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)/" ~/.dotfiles/flake.nix
|
sed -i "0,/emmet/s//$(whoami)/" flake.nix
|
||||||
sed -i "0,/Emmet/s//$(getent passwd $(whoami) | cut -d ':' -f 5 | cut -d ',' -f 1)/" ~/.dotfiles/flake.nix
|
sed -i "0,/Emmet/s//$(getent passwd $(whoami) | cut -d ':' -f 5 | cut -d ',' -f 1)/" 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 ~/.dotfiles;
|
sudo ~/.dotfiles/harden.sh;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,11 +97,12 @@
|
||||||
#blockbench-electron
|
#blockbench-electron
|
||||||
cura
|
cura
|
||||||
obs-studio
|
obs-studio
|
||||||
kdenlive
|
#install kdenlive via flatpak due to missing plugins
|
||||||
|
#kdenlive
|
||||||
ffmpeg
|
ffmpeg
|
||||||
(pkgs.writeScriptBin "kdenlive-accel" ''
|
(pkgs.writeScriptBin "kdenlive-accel" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
DRI_PRIME=0 kdenlive "$1"
|
DRI_PRIME=0 flatpak run org.kde.kdenlive "$1"
|
||||||
'')
|
'')
|
||||||
movit
|
movit
|
||||||
mediainfo
|
mediainfo
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, pkgs-stable, ... }:
|
{ config, pkgs, pkgs-stable, ... }:
|
||||||
let
|
let
|
||||||
myRetroarch =
|
myRetroarch =
|
||||||
(pkgs.retroarch.override {
|
(pkgs.retroarch.override {
|
||||||
|
@ -64,5 +64,11 @@ 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"
|
||||||
|
#];
|
||||||
}
|
}
|
||||||
|
|
|
@ -447,7 +447,7 @@ map } traverse
|
||||||
map { traverse_backwards
|
map { traverse_backwards
|
||||||
map ) jump_non
|
map ) jump_non
|
||||||
|
|
||||||
map gh chain set sort=basename; set sort_reverse=False; cd ~
|
map gh 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
|
||||||
|
|
|
@ -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,1000x1080,1
|
monitor=eDP-1,1920x1080,1000x1200,1
|
||||||
monitor=HDMI-A-1,1920x1080,1920x0,1
|
monitor=HDMI-A-1,1920x1200,1920x0,1
|
||||||
monitor=DP-1,1920x1080,0x0,1
|
monitor=DP-1,1920x1200,0x0,1
|
||||||
|
|
||||||
# 2 monitor setup
|
# 2 monitor setup
|
||||||
#monitor=eDP-1,1920x1080,1920x0,1
|
#monitor=eDP-1,1920x1080,1920x0,1
|
||||||
|
|
Loading…
Reference in a new issue