add chell to dotfiles nix configuration
This commit is contained in:
parent
c5111a4896
commit
7aa69e8675
5 changed files with 144 additions and 16 deletions
|
|
@ -3,6 +3,7 @@
|
|||
imports =
|
||||
[
|
||||
./hardware-${hostname}.nix
|
||||
./${hostname}.nix
|
||||
# <home-manager/nixos>
|
||||
];
|
||||
|
||||
|
|
@ -29,8 +30,13 @@
|
|||
# proxy.default = "naiveproxy+https://fries:8.S%3ECi42%40h%2CF%7D%3EP@ruffling.org/#french_connection:443";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Moscow";
|
||||
# The real world
|
||||
time.timeZone = "Europe/Berlin";
|
||||
location = {
|
||||
latitude = 51.514244;
|
||||
longitude = 7.468429;
|
||||
provider = "geoclue2";
|
||||
};
|
||||
|
||||
# Internationalisation
|
||||
i18n = {
|
||||
|
|
@ -48,15 +54,6 @@
|
|||
# Enable rtkit so pipewire can aquire real-time priority
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Add nur for more packages!
|
||||
# nixpkgs.config.packageOverrides = pkgs: {
|
||||
# nur =
|
||||
# import ( builtins.fetchTarball "https://github.com/nix-community/NUR/archive/main.tar.gz" )
|
||||
# {
|
||||
# inherit pkgs;
|
||||
# };
|
||||
# };
|
||||
|
||||
# Exception for packages that are not free but we would still like to install.
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg)
|
||||
[
|
||||
|
|
@ -70,6 +67,21 @@
|
|||
];
|
||||
|
||||
|
||||
###############################
|
||||
# Documentation options #
|
||||
# (man) #
|
||||
###############################
|
||||
documentation = {
|
||||
enable = true;
|
||||
dev.enable = true;
|
||||
man = {
|
||||
enable = true;
|
||||
generateCaches = true;
|
||||
man-db.enable = false;
|
||||
mandoc.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
################################
|
||||
# Packages for ALL users #
|
||||
################################
|
||||
|
|
@ -77,9 +89,6 @@
|
|||
alacritty
|
||||
asciidoctor-with-extensions
|
||||
bat
|
||||
bluez
|
||||
bluez-tools
|
||||
brightnessctl
|
||||
dunst
|
||||
eww
|
||||
feh
|
||||
|
|
@ -89,6 +98,9 @@
|
|||
git-lfs
|
||||
helix
|
||||
htop
|
||||
joshuto
|
||||
jujutsu
|
||||
lazygit
|
||||
linux-manual
|
||||
maim
|
||||
man-pages
|
||||
|
|
@ -105,7 +117,6 @@
|
|||
rofi
|
||||
uutils-coreutils # TODO: Once satisfied switch to `uutils-coreutils-noprefix`
|
||||
vim
|
||||
webcord
|
||||
wget
|
||||
wine
|
||||
winetricks
|
||||
|
|
@ -124,13 +135,16 @@
|
|||
fonts.packages = with pkgs; with nerd-fonts; [
|
||||
agave
|
||||
anonymice
|
||||
courier-prime
|
||||
daddy-time-mono
|
||||
envy-code-r
|
||||
fantasque-sans-mono
|
||||
hurmit
|
||||
icon-library
|
||||
iosevka
|
||||
iosevka-term-slab
|
||||
jetbrains-mono
|
||||
lmodern
|
||||
source-han-mono
|
||||
tamsyn
|
||||
tamzen
|
||||
|
|
@ -140,16 +154,33 @@
|
|||
# Programs #
|
||||
##################
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
firefox = {
|
||||
enable = true;
|
||||
languagePacks = [ "de" "en-GB" ];
|
||||
};
|
||||
gamemode.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
};
|
||||
mtr.enable = true;
|
||||
nix-ld.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
tumbler
|
||||
thunar-volman
|
||||
thunar-media-tags-plugin
|
||||
thunar-archive-plugin
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
##################
|
||||
|
|
@ -157,6 +188,7 @@
|
|||
##################
|
||||
services = {
|
||||
blueman.enable = true;
|
||||
geoclue2.enable = true;
|
||||
locate.enable = true;
|
||||
pcscd.enable = true;
|
||||
picom = {
|
||||
|
|
@ -165,8 +197,16 @@
|
|||
};
|
||||
pipewire = { enable = true; pulse.enable = true; };
|
||||
printing.enable = true;
|
||||
redshift = {
|
||||
enable = true;
|
||||
|
||||
temperature.night = 4000;
|
||||
temperature.day = 5500;
|
||||
};
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
||||
desktopManager.runXdgAutostartIfNone = true;
|
||||
displayManager.startx.enable = true;
|
||||
windowManager.leftwm.enable = true;
|
||||
xkb.layout = "us";
|
||||
|
|
@ -184,12 +224,13 @@
|
|||
extraGroups = [ "wheel" "networkmanager" "video" "kvm" ];
|
||||
packages = with pkgs; [
|
||||
nixd
|
||||
steam
|
||||
qpwgraph
|
||||
vintagestory
|
||||
|
||||
element-desktop
|
||||
signal-desktop
|
||||
telegram-desktop
|
||||
webcord
|
||||
];
|
||||
|
||||
# home.stateVersion = "24.11";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue