updated nixos configuration for nixos install
parent
65ab202b15
commit
e596d0f94f
|
@ -21,12 +21,16 @@
|
||||||
# accidentally delete configuration.nix.
|
# accidentally delete configuration.nix.
|
||||||
system.copySystemConfiguration = true;
|
system.copySystemConfiguration = true;
|
||||||
|
|
||||||
|
#enable automatic updates
|
||||||
|
system.autoUpgrade.enable = true;
|
||||||
|
system.autoUpgrade.allowReboot = false;
|
||||||
|
|
||||||
|
|
||||||
# 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;
|
||||||
|
|
||||||
networking.hostName = "bismarck"; # Define your hostname.
|
networking.hostName = "nixos"; # 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.
|
||||||
|
|
||||||
|
@ -79,6 +83,8 @@
|
||||||
chromium
|
chromium
|
||||||
brave
|
brave
|
||||||
keepassxc
|
keepassxc
|
||||||
|
monero-cli
|
||||||
|
cura
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -142,20 +148,20 @@
|
||||||
notmuch
|
notmuch
|
||||||
isync
|
isync
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
|
pinentry-bemenu
|
||||||
connman-gtk
|
connman-gtk
|
||||||
openssl
|
openssl
|
||||||
git
|
git
|
||||||
shellcheck
|
shellcheck
|
||||||
jq
|
jq
|
||||||
monero-cli
|
|
||||||
bc
|
bc
|
||||||
gnome.zenity
|
gnome.zenity
|
||||||
cura
|
|
||||||
udisks2
|
udisks2
|
||||||
udiskie
|
udiskie
|
||||||
python3
|
python3
|
||||||
python3.pkgs.pip
|
python3.pkgs.pip
|
||||||
chafa
|
chafa
|
||||||
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs; [
|
||||||
|
@ -163,7 +169,7 @@
|
||||||
noto-fonts-extra
|
noto-fonts-extra
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
nerdfonts
|
(nerdfonts.override { fonts = [ "Mononoki" ]; })
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -178,8 +184,6 @@
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
services.pipewire.wireplumber.enable = true;
|
services.pipewire.wireplumber.enable = true;
|
||||||
|
|
||||||
# xdg-desktop-portal works by exposing a series of D-Bus interfaces
|
# xdg-desktop-portal works by exposing a series of D-Bus interfaces
|
||||||
|
@ -193,8 +197,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
# gtk portal needed to make gtk apps happy
|
# gtk portal needed to make gtk apps happy
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
gtkUsePortal = true;
|
#gtkUsePortal = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,24 +14,6 @@ mkdir -p ~/.cache/zsh
|
||||||
touch ~/.cache/zsh/history
|
touch ~/.cache/zsh/history
|
||||||
|
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
sh ~/.local/scripts/install.sh add-repos ~/.local/installers/nixos/repos.list
|
|
||||||
|
|
||||||
|
|
||||||
#link rofi themes directory so that theming works
|
|
||||||
mkdir -p "$HOME"/.local/share/rofi/
|
|
||||||
ln -s "$HOME"/.local/src/base16-rofi/themes/ "$HOME"/.local/share/rofi/themes
|
|
||||||
=======
|
|
||||||
#sh ~/.local/scripts/install.sh add-repos ~/.local/installers/nixos/repos.list
|
|
||||||
|
|
||||||
|
|
||||||
#link rofi themes directory so that theming works
|
|
||||||
#mkdir -p "$HOME"/.local/share/rofi/
|
|
||||||
#ln -s "$HOME"/.local/src/base16-rofi/themes/ "$HOME"/.local/share/rofi/themes
|
|
||||||
>>>>>>> tmp
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#set limits for esync
|
#set limits for esync
|
||||||
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
|
#sudo sh -c "echo '$USER hard nofile 524288' >> /etc/security/limits.conf"
|
||||||
#set limits for monero
|
#set limits for monero
|
||||||
|
@ -48,11 +30,7 @@ wget http://collapseos.org/files/collapseos-latest.tar.gz
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
#set wallpaper
|
#set wallpaper
|
||||||
<<<<<<< HEAD
|
|
||||||
ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
|
|
||||||
=======
|
|
||||||
#ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
|
#ln -s ~/media/img/wallpapers/alena-aenami-eclipse-1k.jpg ~/.config/wall
|
||||||
>>>>>>> tmp
|
|
||||||
|
|
||||||
#link Xresources for xwayland
|
#link Xresources for xwayland
|
||||||
ln -s ~/.config/Xresources ~/.Xdefaults
|
ln -s ~/.config/Xresources ~/.Xdefaults
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
https://github.com/aarowill/base16-alacritty.git
|
|
||||||
https://github.com/rkubosz/base16-sway.git
|
|
||||||
https://gitlab.com/jordiorlando/base16-rofi.git
|
|
|
@ -132,8 +132,8 @@ update() {
|
||||||
if [ "$1" ] && [ "$1" = "-l" ]; then
|
if [ "$1" ] && [ "$1" = "-l" ]; then
|
||||||
echo "$$" > ~/.cache/statusbar_pid
|
echo "$$" > ~/.cache/statusbar_pid
|
||||||
|
|
||||||
sh ~/.local/scripts/update-crypto.sh -i >> /dev/null &
|
#sh ~/.local/scripts/update-crypto.sh -i >> /dev/null &
|
||||||
sh ~/.local/scripts/update-weather.sh -i >> /dev/null &
|
#sh ~/.local/scripts/update-weather.sh -i >> /dev/null &
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue