diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-07-07 22:14:22 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-07-07 22:14:22 +0700 |
commit | f140f08bc6c39037958048294fd241a28d8da607 (patch) | |
tree | a825016ac64b2a3be8a012011397a1da7f25bb38 /nix | |
parent | 88051c9ccfa9b863b41f0ae86dbb1caaeb739743 (diff) | |
download | dotfiles-f140f08bc6c39037958048294fd241a28d8da607.tar.gz |
Snapshot config before there're too much
I thought I could always make meaningful config msgs.
Diffstat (limited to 'nix')
-rw-r--r-- | nix/awesome.nix (renamed from nix/etc/nixos/awesome.nix) | 17 | ||||
-rw-r--r-- | nix/configuration.nix (renamed from nix/etc/nixos/configuration.nix) | 16 | ||||
-rw-r--r-- | nix/devel.nix (renamed from nix/etc/nixos/devel.nix) | 8 | ||||
-rw-r--r-- | nix/games.nix (renamed from nix/etc/nixos/games.nix) | 6 | ||||
-rw-r--r-- | nix/hardware-configuration.nix (renamed from nix/etc/nixos/hardware-configuration.nix) | 0 |
5 files changed, 31 insertions, 16 deletions
diff --git a/nix/etc/nixos/awesome.nix b/nix/awesome.nix index dfd526d..15c7bd3 100644 --- a/nix/etc/nixos/awesome.nix +++ b/nix/awesome.nix @@ -1,14 +1,13 @@ { pkgs, ... }: { - imports = [ ./redshift.nix ]; - - fonts.fonts = with pkgs; [ lmodern ]; + fonts.fonts = with pkgs; [ julia-mono lmodern ]; services = { autorandr.enable = true; xserver = { enable = true; + desktopManager.xterm.enable = false; displayManager.startx.enable = true; windowManager.awesome.enable = true; @@ -27,14 +26,14 @@ }; environment.systemPackages = with pkgs; [ - gnome.adwaita-icon-theme qt5ct - gnome.networkmanagerapplet keynav mate.mate-power-manager - clipnotify playerctl pulsemixer xclip xdotool - rxvt_unicode-with-plugins urxvt_autocomplete_all_the_things urxvt_font_size - aerc amfora newsboat ranger ueberzug vim_configurable - arandr audacious firefox gimp nheko scrot xorg.xkill zathura + gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct + clipbuzz playerctl pulsemixer xclip xdotool + aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable + arandr audacious keynav scrot sigil xorg.xkill zathura + firefox libreoffice nheko transmission-gtk ]; programs.nm-applet.enable = true; programs.slock.enable = true; + programs.udevil.enable = true; } diff --git a/nix/etc/nixos/configuration.nix b/nix/configuration.nix index 2829879..83d28c9 100644 --- a/nix/etc/nixos/configuration.nix +++ b/nix/configuration.nix @@ -44,6 +44,11 @@ # firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # firewall.enable = false; + + # Overcoming my strange addiction + extraHosts = '' + 127.0.0.1 9gag.com + ''; }; # Set your time zone. @@ -60,9 +65,11 @@ extraGroups = [ "networkmanager" "wheel" ]; }; + nix.autoOptimiseStore = true; environment.systemPackages = with pkgs; [ - htop isync killall oathToolkit rsync stow w3m wget - ffmpeg mpv pavucontrol vimiv-qt youtube-dl + htop isync killall oathToolkit rsync stow unzip w3m wget + mpv pavucontrol sent vimiv-qt yacreader youtube-dl + ffmpeg gifski gimp imagemagick inkscape simplescreenrecorder ]; security.rtkit.enable = true; @@ -80,7 +87,10 @@ # media-session.enable = true; }; - printing.enable = true; + printing = { + enable = true; + drivers = with pkgs; [ hplipWithPlugin ]; + }; dictd = { enable = true; diff --git a/nix/etc/nixos/devel.nix b/nix/devel.nix index e554da9..113d966 100644 --- a/nix/etc/nixos/devel.nix +++ b/nix/devel.nix @@ -2,9 +2,10 @@ { environment.systemPackages = with pkgs; [ - exa fd git glow ripgrep rlwrap - clojure guile julia-stable leiningen lua python3 rakudo zig - texlive.combined.scheme-tetex + exa fd gitAndTools.gitFull glow jq manpages ripgrep rlwrap + clojure gcc guile julia-stable-bin lua python3 rakudo zig + bintools gdb gnumake leiningen pkg-config python38Packages.pip + groff plantuml texlive.combined.scheme-full ]; programs.mtr.enable = true; @@ -26,6 +27,7 @@ authentication = pkgs.lib.mkOverride 10 '' local all all trust host all all ::1/128 trust + host all all 127.0.0.1/32 password ''; }; }; diff --git a/nix/etc/nixos/games.nix b/nix/games.nix index 3a48dc4..ec0e2d8 100644 --- a/nix/etc/nixos/games.nix +++ b/nix/games.nix @@ -8,12 +8,16 @@ astromenace chromium-bsu # scrolling azimuth cdogs-sdl taisei # shmup bastet moon-buggy n2048 # text - blackshades redeclipse warsow xonotic-glx # fps + # blackshades redeclipse warsow xonotic-glx # fps blobwars openclonk sienna superTux # platformer bonzomatic # edu extremetuxracer gl117 gltron superTuxKart # vehicle flare freedroidrpg hyperrogue # slash frozen-bubble gnujump gtetrinet pinball xbill # coffeebreak neverball orthorobot trackballs # puzzle + (steam.override { + nativeOnly = true; + extraPkgs = pkgs: [ SDL2_net ]; + }).run gnome.gtk # launcher ]; } diff --git a/nix/etc/nixos/hardware-configuration.nix b/nix/hardware-configuration.nix index 9ac7c6c..9ac7c6c 100644 --- a/nix/etc/nixos/hardware-configuration.nix +++ b/nix/hardware-configuration.nix |