mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-25 09:31:34 +00:00
resolve conflict
This commit is contained in:
commit
4bab073456
|
@ -25,201 +25,201 @@
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
# 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;
|
||||||
boot.loader.grub.device = "/dev/nvme0n1";
|
boot.loader.grub.device = "/dev/nvme0n1";
|
||||||
boot.loader.grub.useOSProber = true;
|
boot.loader.grub.useOSProber = true;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.config.allowBroken = true;
|
nixpkgs.config.allowBroken = true;
|
||||||
networking.hostName = "lap"; # Define your hostname.
|
networking.hostName = "lap"; # Define your hostname.
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
MAIN_DISK="/dev/nvme0n1";
|
MAIN_DISK="/dev/nvme0n1";
|
||||||
TERMINAL="alacritty";
|
TERMINAL="alacritty";
|
||||||
};
|
};
|
||||||
# let inputs = {
|
# let inputs = {
|
||||||
# home-manager = {
|
# home-manager = {
|
||||||
# url = "github:rycee/home-manager/release-20.09";
|
# url = "github:rycee/home-manager/release-20.09";
|
||||||
# inputs = {
|
# inputs = {
|
||||||
# nixpkgs.follows = "nixpkgs";
|
# nixpkgs.follows = "nixpkgs";
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# nur.url = "github:nix-community/NUR";
|
# nur.url = "github:nix-community/NUR";
|
||||||
# emacs-overlay.url = "github:nix-community/emacs-overlay";
|
# emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||||
# neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
# neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||||
#
|
#
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-20.09";
|
# nixpkgs.url = "github:nixos/nixpkgs/nixos-20.09";
|
||||||
# unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
# unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# master.url = "github:nixos/nixpkgs/master";
|
# master.url = "github:nixos/nixpkgs/master";
|
||||||
#};
|
#};
|
||||||
#
|
#
|
||||||
# nur = final: prev: {
|
# nur = final: prev: {
|
||||||
# nur = import inputs.nur { nurpkgs = final.unstable; pkgs = final.unstable; };
|
# nur = import inputs.nur { nurpkgs = final.unstable; pkgs = final.unstable; };
|
||||||
# };
|
# };
|
||||||
# networking.wireless.enable = true;
|
# networking.wireless.enable = true;
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# networks={
|
# networks={
|
||||||
# Goga = {
|
# Goga = {
|
||||||
# hidden = true;
|
# hidden = true;
|
||||||
# pskRaw = "aaeb0f9e9709a1f25bc93d34290054849e3f8b37071801bbfa4eef5e2eac5084";
|
# pskRaw = "aaeb0f9e9709a1f25bc93d34290054849e3f8b37071801bbfa4eef5e2eac5084";
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Moscow";
|
time.timeZone = "Europe/Moscow";
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
# replicates the default behaviour.
|
# replicates the default behaviour.
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.wlp2s0.useDHCP = true;
|
networking.interfaces.wlp2s0.useDHCP = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
keyMap = "us";
|
keyMap = "us";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Configure keymap in X11
|
||||||
|
# Enable CUPS to print documents.
|
||||||
|
services.printing.enable = true;
|
||||||
|
services.blueman.enable = true;
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
# Enable sound.
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# Enable CUPS to print documents.
|
services.xserver.libinput.enable = true;
|
||||||
services.printing.enable = true;
|
services.xserver.libinput.touchpad.tapping = true;
|
||||||
services.blueman.enable = true;
|
services.xserver.libinput.touchpad.disableWhileTyping = true;
|
||||||
hardware.bluetooth.enable = true;
|
# TODO create touchpad.nix
|
||||||
# Enable sound.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
users.users.horhik = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = [ "wheel" "networkmanager" "audio" "docker" "light" "adbusers" ]; # Enable ‘sudo’ for the user.
|
||||||
|
};
|
||||||
|
system.autoUpgrade.enable = true;
|
||||||
|
system.autoUpgrade.channel = https://nixos.org/channels/nixos-unstable;
|
||||||
|
# List packages installed in system profile. To search, run:
|
||||||
|
# $ nix search wget
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
environment.systemPackages = with pkgs; [
|
||||||
services.xserver.libinput.enable = true;
|
papirus-icon-theme pop-gtk-theme
|
||||||
services.xserver.libinput.touchpad.tapping = true;
|
wget git vim neovim emacs alacritty xterm zsh tmux stow dunst
|
||||||
services.xserver.libinput.touchpad.disableWhileTyping = true;
|
# haskellPackages.xmonad haskellPackages.xmonad-contrib haskellPackages.xmonad-utils
|
||||||
# TODO create touchpad.nix
|
haskellPackages.xmobar
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
tabbed
|
||||||
users.defaultUserShell = pkgs.zsh;
|
i3 surf dmenu st qutebrowser
|
||||||
users.users.horhik = {
|
lightdm rofi nitrogen rofi-emoji
|
||||||
isNormalUser = true;
|
mononoki fontmatrix
|
||||||
extraGroups = [ "wheel" "networkmanager" "audio" "docker" "light" "adbusers" ]; # Enable ‘sudo’ for the user.
|
firefox
|
||||||
};
|
connman
|
||||||
system.autoUpgrade.enable = true;
|
wpa_supplicant python3 xkblayout-state acpi yaru-theme
|
||||||
system.autoUpgrade.channel = https://nixos.org/channels/nixos-unstable;
|
pipewire pulsemixer nerdfonts
|
||||||
# List packages installed in system profile. To search, run:
|
feh compton ninja meson cmake
|
||||||
# $ nix search wget
|
anki clang_12 zathura redshift rustup neofetch tree
|
||||||
|
killall audacity thefuck
|
||||||
|
polkit etcher gsettings-qt appimage-run pamixer unzip qjackctl gnome3.nautilus bluez pkgconfig pavucontrol bpytop
|
||||||
|
#nur.repos.reedrw.picom-next-ibhagwan
|
||||||
|
spotify obsidian discord
|
||||||
|
nfs-utils cifs-utils
|
||||||
|
nfs-ganesha
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
papirus-icon-theme pop-gtk-theme
|
# started in user sessions.
|
||||||
wget git vim neovim emacs alacritty xterm zsh tmux stow dunst
|
# programs.mtr.enable = true;
|
||||||
# haskellPackages.xmonad haskellPackages.xmonad-contrib haskellPackages.xmonad-utils
|
# programs.gnupg.agent = {
|
||||||
haskellPackages.xmobar
|
# enable = true;
|
||||||
tabbed
|
# enableSSHSupport = true;
|
||||||
i3 surf dmenu st qutebrowser
|
# };
|
||||||
lightdm rofi nitrogen rofi-emoji
|
|
||||||
mononoki fontmatrix
|
|
||||||
firefox
|
|
||||||
connman
|
|
||||||
wpa_supplicant python3 xkblayout-state acpi yaru-theme
|
|
||||||
pipewire pulsemixer nerdfonts
|
|
||||||
feh compton ninja meson cmake
|
|
||||||
anki clang_12 llvmPackages_12.libcxxabi
|
|
||||||
zathura redshift rustup neofetch tree
|
|
||||||
killall audacity thefuck
|
|
||||||
polkit etcher gsettings-qt appimage-run pamixer unzip qjackctl gnome3.nautilus bluez pkgconfig pavucontrol bpytop
|
|
||||||
#nur.repos.reedrw.picom-next-ibhagwan
|
|
||||||
spotify obsidian discord
|
|
||||||
];
|
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# List services that you want to enable:
|
||||||
# started in user sessions.
|
|
||||||
# programs.mtr.enable = true;
|
|
||||||
# programs.gnupg.agent = {
|
|
||||||
# enable = true;
|
|
||||||
# enableSSHSupport = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# List services that you want to enable:
|
# Enable the OpenSSH daemon.
|
||||||
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Open ports in the firewall.
|
||||||
# services.openssh.enable = true;
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
# Or disable the firewall altogether.
|
||||||
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# This value determines the NixOS release from which the default
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# settings for stateful data, like file locations and database versions
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
# Or disable the firewall altogether.
|
# this value at the release version of the first install of this system.
|
||||||
# networking.firewall.enable = false;
|
# Before changing this value read the documentation for this option
|
||||||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
|
# system.stateVersion = "20.09"; # Did you read the comment?
|
||||||
|
### OH MY ZSH ###
|
||||||
|
|
||||||
|
#programs.zsh.interactiveShellInit = ''
|
||||||
|
# export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh/
|
||||||
|
# export CC=/usr/bin/clang
|
||||||
|
# export CXX=/usr/bin/clang++
|
||||||
|
# export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
# export ANDROID_SDK_ROOT=/home/horhik/Android/Sdk/
|
||||||
|
# export NDK_HOME=/home/horhik/Android/Sdk/ndk/22.0.7026061/
|
||||||
|
# ZSH_THEME="cloud"
|
||||||
|
# plugins=(git colorize colored-man-pages emoji rustup sudo zsh-syntax-highlighting zsh-autosuggestions zsh-completions)
|
||||||
|
# autoload -U compinit && compinit
|
||||||
|
# source $ZSH/oh-my-zsh.sh
|
||||||
|
# export PATH=$HOME/.local/bin:$PATH
|
||||||
|
# export PATH=/usr/local/bin:$PATH
|
||||||
|
# export PATH=$HOME/.cargo/bin:$PATH
|
||||||
|
# export PATH=$HOME/.emacs.d/bin:$PATH
|
||||||
|
# export PATH=$HOME/Desktop:$PATH
|
||||||
|
# export PATH=/home/horhik/code/projects/potato-notify:$PATH
|
||||||
|
# export PATH="/root/.deno/bin:$PATH"
|
||||||
|
# alias vim=nvim
|
||||||
|
# alias vi=vim
|
||||||
|
# alias libvirtdaemon="sudo start-stop-daemon --start libvirtd"
|
||||||
|
# alias virtm="sudo start-stop-daemon --start virtlogd &; sudo start-stop-daemon --start libvirtd &; virt-manager &"
|
||||||
|
# alias clip=xclip -selection clipboard
|
||||||
|
# alias suspend="loginctl suspend"
|
||||||
|
# if [ -f '/home/horhik/yandex-cloud/path.bash.inc' ]; then source '/home/horhik/yandex-cloud/path.bash.inc'; fi
|
||||||
|
# if [ -f '/home/horhik/yandex-cloud/completion.zsh.inc' ]; then source '/home/horhik/yandex-cloud/completion.zsh.inc'; fi
|
||||||
|
# alias rd='rustc -g --emit="obj,link"'
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# alias rdr=compile_and_run
|
||||||
|
# alias aia=ankiaudio
|
||||||
|
# alias picom="killall picom; picom --experimental-backends &;"
|
||||||
|
# alias cc="cargo check"
|
||||||
|
# alias ct="cargo test"
|
||||||
|
# alias gc="git clone"
|
||||||
|
# alias gs="git status"
|
||||||
|
# alias vim="nvim"
|
||||||
|
#
|
||||||
|
# neofetch
|
||||||
|
#
|
||||||
|
# eval $(thefuck --alias)
|
||||||
|
# source $ZSH/oh-my-zsh.sh
|
||||||
|
#'';
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like file locations and database versions
|
### FONTS ###
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
# system.stateVersion = "20.09"; # Did you read the comment?
|
|
||||||
### OH MY ZSH ###
|
|
||||||
|
|
||||||
#programs.zsh.interactiveShellInit = ''
|
|
||||||
# export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh/
|
|
||||||
# export CC=/usr/bin/clang
|
|
||||||
# export CXX=/usr/bin/clang++
|
|
||||||
# export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
# export ANDROID_SDK_ROOT=/home/horhik/Android/Sdk/
|
|
||||||
# export NDK_HOME=/home/horhik/Android/Sdk/ndk/22.0.7026061/
|
|
||||||
# ZSH_THEME="cloud"
|
|
||||||
# plugins=(git colorize colored-man-pages emoji rustup sudo zsh-syntax-highlighting zsh-autosuggestions zsh-completions)
|
|
||||||
# autoload -U compinit && compinit
|
|
||||||
# source $ZSH/oh-my-zsh.sh
|
|
||||||
# export PATH=$HOME/.local/bin:$PATH
|
|
||||||
# export PATH=/usr/local/bin:$PATH
|
|
||||||
# export PATH=$HOME/.cargo/bin:$PATH
|
|
||||||
# export PATH=$HOME/.emacs.d/bin:$PATH
|
|
||||||
# export PATH=$HOME/Desktop:$PATH
|
|
||||||
# export PATH=/home/horhik/code/projects/potato-notify:$PATH
|
|
||||||
# export PATH="/root/.deno/bin:$PATH"
|
|
||||||
# alias vim=nvim
|
|
||||||
# alias vi=vim
|
|
||||||
# alias libvirtdaemon="sudo start-stop-daemon --start libvirtd"
|
|
||||||
# alias virtm="sudo start-stop-daemon --start virtlogd &; sudo start-stop-daemon --start libvirtd &; virt-manager &"
|
|
||||||
# alias clip=xclip -selection clipboard
|
|
||||||
# alias suspend="loginctl suspend"
|
|
||||||
# if [ -f '/home/horhik/yandex-cloud/path.bash.inc' ]; then source '/home/horhik/yandex-cloud/path.bash.inc'; fi
|
|
||||||
# if [ -f '/home/horhik/yandex-cloud/completion.zsh.inc' ]; then source '/home/horhik/yandex-cloud/completion.zsh.inc'; fi
|
|
||||||
# alias rd='rustc -g --emit="obj,link"'
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# alias rdr=compile_and_run
|
|
||||||
# alias aia=ankiaudio
|
|
||||||
# alias picom="killall picom; picom --experimental-backends &;"
|
|
||||||
# alias cc="cargo check"
|
|
||||||
# alias ct="cargo test"
|
|
||||||
# alias gc="git clone"
|
|
||||||
# alias gs="git status"
|
|
||||||
# alias vim="nvim"
|
|
||||||
#
|
|
||||||
# neofetch
|
|
||||||
#
|
|
||||||
# eval $(thefuck --alias)
|
|
||||||
# source $ZSH/oh-my-zsh.sh
|
|
||||||
#'';
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
|
programs.adb.enable = true;
|
||||||
### FONTS ###
|
services.emacs.package = pkgs.emacsUnstable;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
programs.adb.enable = true;
|
|
||||||
services.emacs.package = pkgs.emacsUnstable;
|
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import (builtins.fetchTarball {
|
|
||||||
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
|
||||||
sha256 = "0c2p2ycx6c50rzfd5k56cc411cb0ilhc3zyhhxlwcjnz1ysn5laj";
|
|
||||||
}))
|
|
||||||
];
|
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(import (builtins.fetchTarball {
|
||||||
|
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
||||||
|
sha256 = "0c2p2ycx6c50rzfd5k56cc411cb0ilhc3zyhhxlwcjnz1ysn5laj";
|
||||||
|
}))
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue