some upd
This commit is contained in:
+46
-24
@@ -11,11 +11,7 @@
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
fileSystems."/".options = [
|
||||
"ssd"
|
||||
"noatime"
|
||||
"compress=zstd:1"
|
||||
];
|
||||
fileSystems."/".options = [ "ssd" "noatime" "compress=zstd:1" ];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
@@ -25,11 +21,31 @@
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
networking.nameservers = [ "8.8.8.8" "1.1.1.1" ];
|
||||
# networking.proxy.default =
|
||||
# "http://VVM8MipXHu:rZVMKEwSx9@mandarin-indicolite11678.my-vm.work:45162";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,::1";
|
||||
|
||||
# environment.variables = {
|
||||
# http_proxy =
|
||||
# "http://VVM8MipXHu:rZVMKEwSx9@mandarin-indicolite11678.my-vm.work:45162";
|
||||
# https_proxy =
|
||||
# "http://VVM8MipXHu:rZVMKEwSx9@mandarin-indicolite11678.my-vm.work:45162";
|
||||
# HTTP_PROXY =
|
||||
# "http://VVM8MipXHu:rZVMKEwSx9@mandarin-indicolite11678.my-vm.work:45162";
|
||||
# HTTPS_PROXY =
|
||||
# "http://VVM8MipXHu:rZVMKEwSx9@mandarin-indicolite11678.my-vm.work:45162";
|
||||
# no_proxy = "127.0.0.1,localhost,::1";
|
||||
# NO_PROXY = "127.0.0.1,localhost,::1";
|
||||
# };
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
insertNameservers = [ "1.1.1.1" "8.8.8.8" ];
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Moscow";
|
||||
@@ -89,10 +105,7 @@
|
||||
users.users.krosh = {
|
||||
isNormalUser = true;
|
||||
description = "Krosh";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
|
||||
# Install firefox.
|
||||
@@ -104,9 +117,21 @@
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs.kitty
|
||||
pkgs.hiddify-app
|
||||
# pkgs.hiddify-app
|
||||
amnezia-vpn
|
||||
];
|
||||
|
||||
systemd.services.amnezia-vpn = {
|
||||
description = "AmneziaVPN Service";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.amnezia-vpn}/bin/AmneziaVPN-service";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
@@ -124,7 +149,7 @@
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.enable = false;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
@@ -148,15 +173,11 @@
|
||||
colorscheme blue
|
||||
endif
|
||||
'';
|
||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||
start = [ ctrlp ];
|
||||
};
|
||||
packages.myVimPackage = with pkgs.vimPlugins; { start = [ ctrlp ]; };
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
defaultEditor = true;
|
||||
};
|
||||
programs.neovim = { defaultEditor = true; };
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
@@ -172,12 +193,13 @@
|
||||
plymouth = {
|
||||
enable = true;
|
||||
theme = "connect";
|
||||
themePackages = with pkgs; [
|
||||
# By default we would install all themes
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ "connect" ];
|
||||
})
|
||||
];
|
||||
themePackages = with pkgs;
|
||||
[
|
||||
# By default we would install all themes
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ "connect" ];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
# Enable "Silent boot"
|
||||
|
||||
Reference in New Issue
Block a user