changes after switching back to artix from nixos.
parent
5bb64072be
commit
30c3980322
|
@ -295,7 +295,7 @@ seat seat0 xcursor_theme Adwaita 10
|
|||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
#exec ~/.local/init/init.sh -i ~/.local/init/config-nixos
|
||||
exec ~/.local/init/init.sh -i ~/.local/init/startup
|
||||
|
||||
#do any computer specific setup here, monitor configs, etc.
|
||||
include ~/.init.sh
|
||||
|
|
|
@ -22,12 +22,16 @@
|
|||
#enable nonfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.extraOptions = "–extra-experimental-features nix-command"
|
||||
;
|
||||
#enable automatic updates
|
||||
system.autoUpgrade.enable = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
#enable flatpak
|
||||
services.flatpak.enable = true;
|
||||
|
||||
networking.hostName = "gabriel"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
|
@ -74,8 +78,17 @@
|
|||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
networking.firewall.allowedTCPPorts = [ 67 68 53 ];
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
{ from = 56881; to = 56889; }
|
||||
{ from = 27036; to = 27037; }
|
||||
];
|
||||
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
{ from = 27000; to = 27036; }
|
||||
];
|
||||
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
@ -135,16 +148,16 @@
|
|||
neomutt
|
||||
notmuch
|
||||
isync
|
||||
pinentry
|
||||
pinentry-curses
|
||||
pinentry-gtk2
|
||||
anbox
|
||||
protonup
|
||||
];
|
||||
|
||||
#add 32bit support for graphics
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir ~/docs/
|
||||
mkdir ~/dl/
|
||||
mkdir ~/media/
|
||||
mkdir -p ~/.local/share/gnupg/
|
||||
mkdir -p ~/.config/mpd/playlists
|
||||
mkdir -p ~/.local/share/desktop
|
||||
|
||||
#setup .zprofile and zsh history file
|
||||
cd ~ || return
|
||||
ln -s ~/.profile ~/.zprofile
|
||||
mkdir -p ~/.cache/zsh
|
||||
touch ~/.cache/zsh/history
|
||||
|
||||
|
||||
#set limits for esync
|
||||
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
|
||||
#set limits for monero
|
||||
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
|
||||
#sudo sh -c "echo '$USER hard memlock 2048' >> /etc/security/limits.conf"
|
||||
|
||||
#fix issue with arduino ide and tiling wms
|
||||
#sudo sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >> /etc/profile.d/jre.sh'
|
||||
|
||||
#download collapse OS
|
||||
mkdir -p "$HOME"/.local/src/
|
||||
cd "$HOME"/.local/src/
|
||||
wget http://collapseos.org/files/collapseos-latest.tar.gz
|
||||
cd -
|
||||
|
||||
#set wallpaper
|
||||
ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
|
||||
|
||||
#link Xresources for xwayland
|
||||
ln -s ~/.config/Xresources ~/.Xdefaults
|
|
@ -1 +0,0 @@
|
|||
pinentry-program /run/current-system/sw/bin/pinentry
|
Loading…
Reference in New Issue