Merge remote-tracking branch 'origin/master'
This commit is contained in:
		| @@ -158,6 +158,7 @@ fade-exclude = [ ]; | ||||
| ################################# | ||||
|  | ||||
| corner-radius: 10 | ||||
| rounded-corners-exclude = [ "class_g = 'xmonad'" ]; | ||||
|  | ||||
| ################################# | ||||
| # | ||||
|   | ||||
 Submodule dotfiles/config/taffybar/taffybar updated: dd3d05555f...437f730752
									
								
							| @@ -38,6 +38,9 @@ | ||||
| .workspaces .contents { | ||||
| 	box-shadow: none; | ||||
| 	border-radius: 4px; | ||||
| 	border-width: 1px; | ||||
| 	border-style: solid; | ||||
| 	border-color: @transparent; | ||||
| } | ||||
|  | ||||
| .workspace-label { | ||||
|   | ||||
| @@ -131,9 +131,12 @@ cssFilesByHostname = | ||||
|   , ("imalison-home", ["taffybar.css"]) | ||||
|   , ("ivanm-dfinity-razer", ["taffybar.css"]) | ||||
|   , ("ryzen-shine", ["taffybar.css"]) | ||||
|   , ("stevie-nixos", ["taffybar.css"]) | ||||
|   ] | ||||
|  | ||||
| main = do | ||||
|   enableLogger "Graphics.UI.GIGtkStrut" DEBUG | ||||
|  | ||||
|   hostName <- getHostName | ||||
|   homeDirectory <- getHomeDirectory | ||||
|   let relativeFiles = fromMaybe ["taffybar.css"] $ lookup hostName cssFilesByHostname | ||||
| @@ -203,7 +206,7 @@ main = do | ||||
|         , barPosition = Top | ||||
|         , widgetSpacing = 0 | ||||
|         , barPadding = 0 | ||||
|         , barHeight = 50 | ||||
|         , barHeight = ScreenRatio $ 1/27 | ||||
|         , cssPaths = cssFiles | ||||
|         , startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329" | ||||
|         } | ||||
| @@ -213,16 +216,19 @@ main = do | ||||
|             , baseConfig { endWidgets = laptopEndWidgets } | ||||
|             ) | ||||
|           , ( "imalison-home" | ||||
|             , baseConfig { endWidgets = fullEndWidgets, barHeight = 42 } | ||||
|             , baseConfig { endWidgets = fullEndWidgets } | ||||
|             ) | ||||
|           , ( "ryzen-shine" | ||||
|             , baseConfig { endWidgets = fullEndWidgets, barHeight = 50 } | ||||
|             , baseConfig { endWidgets = fullEndWidgets } | ||||
|             ) | ||||
|           , ( "ivanm-dfinity-razer" | ||||
|             , baseConfig { endWidgets = laptopEndWidgets, barHeight = 42 } | ||||
|             , baseConfig { endWidgets = laptopEndWidgets } | ||||
|             ) | ||||
|           , ( "adele" | ||||
|             , baseConfig { endWidgets = laptopEndWidgets, barHeight = 45 } | ||||
|             , baseConfig { endWidgets = laptopEndWidgets } | ||||
|             ) | ||||
|           , ( "stevie-nixos" | ||||
|             , baseConfig { endWidgets = laptopEndWidgets } | ||||
|             ) | ||||
|           ] | ||||
|       simpleTaffyConfig = selectedConfig | ||||
| @@ -231,7 +237,7 @@ main = do | ||||
|         -- , startWidgets = [] | ||||
|         } | ||||
|   startTaffybar $ | ||||
|     appendHook (void $ getHost False) $ | ||||
|     appendHook (void $ getTrayHost False) $ | ||||
|     withLogServer $ | ||||
|     withToggleServer $ | ||||
|     toTaffyConfig simpleTaffyConfig | ||||
|   | ||||
 Submodule dotfiles/config/xmonad/xmonad updated: aa18707c3e...485a0ad506
									
								
							| @@ -66,6 +66,7 @@ import           XMonad.Layout.Accordion | ||||
| import           XMonad.Layout.BoringWindows | ||||
| import           XMonad.Layout.ConditionalLayout | ||||
| import           XMonad.Layout.Cross | ||||
| import           XMonad.Layout.Decoration | ||||
| import           XMonad.Layout.Grid | ||||
| import           XMonad.Layout.LayoutCombinators | ||||
| import           XMonad.Layout.LayoutModifier | ||||
| @@ -90,7 +91,6 @@ import           XMonad.Util.Minimize | ||||
| import           XMonad.Util.NamedScratchpad as NS | ||||
| import           XMonad.Util.NamedWindows (getName) | ||||
| import           XMonad.Util.Run | ||||
| import           XMonad.Util.Themes | ||||
| import           XMonad.Util.WorkspaceCompare | ||||
|  | ||||
| myConfig = def | ||||
| @@ -100,8 +100,6 @@ myConfig = def | ||||
|     = namedScratchpadManageHook scratchpads | ||||
|   , layoutHook = myLayoutHook | ||||
|   , borderWidth = 0 | ||||
|   , normalBorderColor = "#0096ff" | ||||
|   , focusedBorderColor = "#ffff00" | ||||
|   , logHook | ||||
|   = updatePointer (0.5, 0.5) (0, 0) | ||||
|   <> toggleFadeInactiveLogHook 0.9 | ||||
| @@ -112,12 +110,24 @@ myConfig = def | ||||
|   , handleEventHook | ||||
|   =  followIfNoMagicFocus | ||||
|   <> minimizeEventHook | ||||
|   <> restartEventHook | ||||
|   -- <> restartEventHook | ||||
|   <> myScratchPadEventHook | ||||
|   , startupHook = myStartup | ||||
|   , keys = customKeys (const []) addKeys | ||||
|   } | ||||
|  | ||||
| gothamTheme = | ||||
|   def | ||||
|   { inactiveBorderColor = "#000" | ||||
|   , activeBorderColor = "#edb443" | ||||
|   , activeColor = "#edb443" | ||||
|   , inactiveColor = "#091f2e" | ||||
|   , inactiveTextColor = "#edb443" | ||||
|   , activeTextColor = "#091f2e" | ||||
|   , fontName = "xft:Source Code Pro:style=Semibold" | ||||
|   , decoHeight = 25 | ||||
|   } | ||||
|  | ||||
| restartEventHook e@ClientMessageEvent { ev_message_type = mt } = do | ||||
|   a <- getAtom "XMONAD_RESTART" | ||||
|   if mt == a | ||||
| @@ -127,14 +137,13 @@ restartEventHook _ = return $ All True | ||||
|  | ||||
| myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation } | ||||
|  | ||||
| main = do | ||||
|   dirs <- getDirectories | ||||
|   (`launch` dirs) | ||||
|        . docks | ||||
|        . pagerHints | ||||
|        . ewmh | ||||
|        . ewmhFullscreen | ||||
|        . withNavigation2DConfig myNavigation2DConfig $ myConfig | ||||
| main = | ||||
|   xmonad | ||||
|       . docks | ||||
|       . pagerHints | ||||
|       . ewmh | ||||
|       . ewmhFullscreen | ||||
|       . withNavigation2DConfig myNavigation2DConfig $ myConfig | ||||
|  | ||||
| -- Utility functions | ||||
|  | ||||
| @@ -306,7 +315,7 @@ instance Transformer MyToggles Window where | ||||
|   transform AVOIDSTRUTS x k = k (avoidStruts x) unmodifyLayout | ||||
|  | ||||
| myToggles = [LIMIT, GAPS, MAGICFOCUS, MAGNIFY, AVOIDSTRUTS] | ||||
| otherToggles = [NBFULL, MIRROR, NOBORDERS, SMARTBORDERS] | ||||
| otherToggles = [NBFULL, NOBORDERS, MIRROR, SMARTBORDERS] | ||||
| toggleHandlers = | ||||
|   [ (Toggle GAPS, toggleAll) | ||||
|   , (Toggle MAGNIFY, toggleAll) | ||||
| @@ -406,7 +415,7 @@ layoutInfo = | ||||
|   rename "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||! | ||||
|   Accordion |||! simpleCross |||! myTabbed | ||||
|     where | ||||
|       myTabbed = rename "Tabbed" $ tabbed shrinkText (theme robertTheme) | ||||
|       myTabbed = rename "Tabbed" $ tabbed shrinkText gothamTheme | ||||
|  | ||||
| layoutList = snd layoutInfo | ||||
|  | ||||
|   | ||||
| @@ -5043,7 +5043,7 @@ load-theme hook (See the heading below). | ||||
| ** After ~load-theme~ hook | ||||
| #+BEGIN_SRC emacs-lisp | ||||
| (defvar imalison:light-theme 'solarized-light) | ||||
| (defvar imalison:dark-theme 'flatland) | ||||
| (defvar imalison:dark-theme 'gotham) | ||||
|  | ||||
| (defun imalison:after-load-theme (&rest _args) | ||||
|   (when (fboundp 'powerline-reset) | ||||
|   | ||||
| @@ -98,3 +98,6 @@ | ||||
| [user] | ||||
| 	email = IvanMalison@gmail.com | ||||
| 	name = Ivan Malison | ||||
|  | ||||
| [init] | ||||
| 	defaultBranch = master | ||||
|   | ||||
							
								
								
									
										7
									
								
								dotfiles/xkb/keymap/stevie-nixos
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								dotfiles/xkb/keymap/stevie-nixos
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| xkb_keymap { | ||||
| 	xkb_keycodes  { include "evdev+aliases(qwerty)"	}; | ||||
| 	xkb_types     { include "complete"	}; | ||||
| 	xkb_compat    { include "complete"	}; | ||||
| 	xkb_symbols   { include "pc+us+inet(evdev)+altwin(swap_lalt_lwin)+imalison(ralt_as_hyper)+capslock(ctrl_modifier)"	}; | ||||
| 	xkb_geometry  { include "pc(pc105)"	}; | ||||
| }; | ||||
| @@ -38,8 +38,11 @@ with lib; | ||||
|     environment = { | ||||
|       homeBinInPath = true; | ||||
|       localBinInPath = true; | ||||
|       shellAliases = { | ||||
|         df_ssh = "TERM='xterm-256color ssh -o StrictHostKeyChecking=no'"; | ||||
|       }; | ||||
|       interactiveShellInit = '' | ||||
|                 vterm_printf(){ | ||||
|         vterm_printf(){ | ||||
|             if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then | ||||
|                 # Tell tmux to pass the escape sequences through | ||||
|                 printf "\ePtmux;\e\e]%s\007\e\\" "$1" | ||||
|   | ||||
| @@ -31,6 +31,7 @@ in | ||||
|     dolphin | ||||
|     element-desktop | ||||
|     gpick | ||||
|     torbrowser | ||||
|  | ||||
|     # Appearance | ||||
|     numix-icon-theme-circle | ||||
|   | ||||
| @@ -73,15 +73,15 @@ | ||||
|     enable = true; | ||||
|     repositories = { | ||||
|       config = { | ||||
|         path = "/home/imalison/config"; | ||||
|         path = config.home.homeDirectory + "/config"; | ||||
|         uri = "git@github.com:IvanMalison/config.git"; | ||||
|       }; | ||||
|       org = { | ||||
|         path = "/home/imalison/org"; | ||||
|         path = config.home.homeDirectory + "/org"; | ||||
|         uri = "git@github.com:IvanMalison/org.git"; | ||||
|       }; | ||||
|       password-store = { | ||||
|         path = "/home/imalison/.password-store"; | ||||
|         path = config.home.homeDirectory + "/.password-store"; | ||||
|         uri = "git@github.com:IvanMalison/.password-store.git"; | ||||
|       }; | ||||
|     }; | ||||
|   | ||||
| @@ -1,6 +1,3 @@ | ||||
| # Do not modify this file!  It was generated by ‘nixos-generate-config’ | ||||
| # and may be overwritten by future invocations.  Please make changes | ||||
| # to /etc/nixos/configuration.nix instead. | ||||
| { config, lib, pkgs, inputs, ... }: | ||||
|  | ||||
| { | ||||
|   | ||||
| @@ -5,6 +5,7 @@ | ||||
|     ../users.nix | ||||
|     ../full.nix | ||||
|     ../dfinity.nix | ||||
|     ../games.nix | ||||
|   ]; | ||||
|  | ||||
|   hardware.enableRedistributableFirmware = true; | ||||
|   | ||||
							
								
								
									
										46
									
								
								nixos/machines/stevie-nixos.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								nixos/machines/stevie-nixos.nix
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| { config, lib, pkgs, inputs, ... }: | ||||
|  | ||||
| { | ||||
|   imports = [ | ||||
|     ../full.nix | ||||
|     ../base.nix | ||||
|     inputs.nixos-hardware.nixosModules.dell-xps-17-9700-nvidia | ||||
|   ]; | ||||
|  | ||||
|   hardware.enableRedistributableFirmware = true; | ||||
|  | ||||
|   boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; | ||||
|  | ||||
|   boot.initrd.kernelModules = [ ]; | ||||
|   boot.kernelModules = [ "kvm-intel" ]; | ||||
|   boot.extraModulePackages = with config.boot.kernelPackages; [ ]; | ||||
|  | ||||
|   boot.loader.systemd-boot.enable = true; | ||||
|   boot.loader.efi.canTouchEfiVariables = true; | ||||
|  | ||||
|   services.xserver.libinput.enable = true; | ||||
|  | ||||
|   fileSystems."/" = | ||||
|     { device = "/dev/disk/by-uuid/7c999009-1ff1-42f7-a64a-3fa91fc777a8"; | ||||
|       fsType = "ext4"; | ||||
|     }; | ||||
|  | ||||
|   boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/97c1eee7-b161-4186-9c14-6b1771d49afb"; | ||||
|  | ||||
|   fileSystems."/boot" = | ||||
|     { device = "/dev/disk/by-label/ESP"; | ||||
|       fsType = "vfat"; | ||||
|     }; | ||||
|  | ||||
|  | ||||
|   swapDevices = [ ]; | ||||
|  | ||||
|   networking.hostName = "stevie-nixos"; | ||||
|  | ||||
|   nix.maxJobs = lib.mkDefault 16; | ||||
|   powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; | ||||
|  | ||||
|   hardware.video.hidpi.enable = true; | ||||
|  | ||||
|   system.stateVersion = "21.05"; | ||||
| } | ||||
 Submodule nixos/nixpkgs updated: c159b9d51e...022c300df1
									
								
							| @@ -27,6 +27,7 @@ | ||||
|       openssh.authorizedKeys.keys = [ | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzGkqGJm+nrMvsrfuWOLVxXHvi0UL1ULJmyfzS9sKpy imalison@biskcomp.local" | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuO/tc728fKyctlufiehZQuKsD0XDiS/5x7TImk0Ip4 imalison@ivanm-dfinity-razer" | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDt/rcYuGGlXBcRUJvzUCgOW8PNVkJJ5TwEOha1/KGM4 imalison@stevie-nixos" | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIiZd2FiyTJvuvDh5hH0L3BqZV3E/kwwyau57QD7pz7C cardno:000614590850" # Dfinity Admin | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHOEt0T+Hxxat5tbkD9mSu8T271QjRrLr2EA0rIDXUNL cardno:000614590748" # Dfinity Read-Only | ||||
|         "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUSkj7587e+MAUNyU/KRpw9Vk++53Wv5nB+0V1QgiTO3rMQe6HJt0Tm2wi/o/T8GNjueT2D69YgkqOIF1FQwsj2EFLObcMzeBgs5gTSglqggA2I91BIc1vvgjCDpogOMAzAQGlTxRnqrEXhqG0jJtw8KIzLr9WrvWLdTT4rHtWS8RoOBgkQ8oxbggZ4vtbMBIwoIAYGRr70KBRNCsLTPLa8yEf+DDQxq1entzxSjHXHgyeBSVVpPCrBVmhjandk+lIFInjvAiAE1ZkJHSRccL73ORmgb1crwH7xlD9NwBPmypowMi8UIRMKfL2lNehT0AQIlEAikUBLMDzPIPhnwLZ imalison@ivanm-dfinity-razer.local" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user