diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/default.nix | 1 | ||||
-rw-r--r-- | hosts/vm/default.nix | 25 | ||||
-rw-r--r-- | hosts/vm/home.nix | 109 |
3 files changed, 0 insertions, 135 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index 2a1f526..8dc5674 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -5,7 +5,6 @@ let hosts = [ { host = "phobos"; system = "x86_64-linux"; timezone = secrets.main_timezone; location = secrets.main_location; } { host = "luna"; system = "x86_64-linux"; timezone = secrets.main_timezone; location = secrets.main_location; } - { host = "vm"; system = "x86_64-linux"; timezone = secrets.main_timezone; location = secrets.main_location; } ]; hardwares = [ diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix deleted file mode 100644 index 4fbf51e..0000000 --- a/hosts/vm/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ config, pkgs, lib, secrets, hostname, inputs, user, ... }: { - - imports = [ - ]; - - # Configure keymap in X11 - services.xserver.layout = "gb"; - - # Pick only one of the below networking options. - networking = { - # networkmanager.enable = true; # Easiest to use and most distros use this by default. - # Configure network proxy if necessary - # proxy.default = "http://user:password@proxy:port/"; - # proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - }; - - environment.systemPackages = with pkgs; - [ - - ]; - - environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database; - -} - diff --git a/hosts/vm/home.nix b/hosts/vm/home.nix deleted file mode 100644 index 3a1137f..0000000 --- a/hosts/vm/home.nix +++ /dev/null @@ -1,109 +0,0 @@ -{ config, lib, pkgs, inputs, user, hostname, location, secrets, ... }: -{ - home.packages = with pkgs; [ - trackma - adl - ] ++ - (with pkgs.custom; [ - ]); - - xdg.configFile = { - "dwmbar/config".text = '' - #!/bin/sh - - # What modules, in what order - MODULES="weather internet volume ram_perc cpuload date time" - - # Modules that require an active internet connection - ONLINE_MODULES="weather internet" - - # Delay between showing the status bar - DELAY="0.05" - - # Where the custom modules are stored - CUSTOM_DIR="/home/$USER/.config/dwmbar/modules/custom/" - - # Separator between modules - SEPARATOR=" | " - - # Padding at the end and beggining of the status bar - RIGHT_PADDING=" " - LEFT_PADDING=" " - ''; - - "sxhkd/sxhkdrc".text = - builtins.readFile "${inputs.dotfiles}/sxhkd/xmonad" + - builtins.readFile "${inputs.dotfiles}/sxhkd/base" + - '' - - #enter and leave game mode - alt + shift + F11: ctrl + shift + F11 - pkill -ALRM sxhkd - - # Make sxhkd reload its configuration files - alt + Escape - pkill -USR1 -x sxhkd - - #Screenshot - alt + grave - bash ~/.scripts/screenshot - - - ################## - ##### VOLUME ##### - ################## - - # Raise volume - XF86AudioRaiseVolume - amixer sset Master 5%+ - #pactl set-sink-volume 0 +5% - - # Lower volume - XF86AudioLowerVolume - amixer sset Master 5%- - #pactl set-sink-volume 0 -5% - - # Mute audio - # note: mute always sets audio off (toggle) - XF86AudioMute - amixer sset Master toggle - #pactl set-sink-mute 0 toggle - - - ###################### - ##### BRIGHTNESS ##### - ###################### - - XF86MonBrightnessUp - light -A 5 - - XF86MonBrightnessDown - light -U 5 - - ###################### - ######## MEDIA ####### - ###################### - - XF86AudioPlay - playerctl play - - XF86AudioPause - playerctl pause - - XF86AudioNext - playerctl next - - XF86AudioPrev - playerctl previous - - ###################### - ######## OTHER ####### - ###################### - - XF86TouchpadToggle - exec ~/.config/i3/scripts/toggletouchpad.sh - - ''; - }; - -} |