changes after switching back to artix from nixos.

chromebook
Alex 2022-06-11 20:24:12 -05:00
parent 5bb64072be
commit 30c3980322
5 changed files with 57 additions and 10 deletions

View File

@ -295,7 +295,7 @@ seat seat0 xcursor_theme Adwaita 10
include /etc/sway/config.d/* 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. #do any computer specific setup here, monitor configs, etc.
include ~/.init.sh include ~/.init.sh

View File

@ -22,12 +22,16 @@
#enable nonfree packages #enable nonfree packages
nixpkgs.config.allowUnfree = true; 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. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
#enable flatpak
services.flatpak.enable = true;
networking.hostName = "gabriel"; # Define your hostname. networking.hostName = "gabriel"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
@ -74,8 +78,17 @@
}; };
# Open ports in the firewall. # 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.allowedUDPPorts = [ ... ];
networking.firewall.allowedUDPPortRanges = [
{ from = 27000; to = 27036; }
];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
@ -135,16 +148,16 @@
neomutt neomutt
notmuch notmuch
isync isync
pinentry
pinentry-curses pinentry-curses
pinentry-gtk2 anbox
protonup
]; ];
#add 32bit support for graphics #add 32bit support for graphics
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
programs.steam = { programs.steam = {
enable = true; enable = false;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
}; };

View File

@ -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

View File

@ -1 +0,0 @@
pinentry-program /run/current-system/sw/bin/pinentry

View File

@ -71,6 +71,5 @@ mount /media/nagato/ &
if [ "$(tty)" = /dev/tty1 ]; then if [ "$(tty)" = /dev/tty1 ]; then
~/.local/init/init.sh -i ~/.local/init/config-nixos [ -f /bin/sway ] && exec dbus-launch sway
exec dbus-launch sway
fi fi