forked from colonelpanic/dotfiles
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
805b64eb5d
@ -158,6 +158,7 @@ fade-exclude = [ ];
|
|||||||
#################################
|
#################################
|
||||||
|
|
||||||
corner-radius: 10
|
corner-radius: 10
|
||||||
|
rounded-corners-exclude = [ "class_g = 'xmonad'" ];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
#
|
#
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit dd3d05555fb997d0a558cfc28bb34680f25ad9a1
|
Subproject commit 437f73075261f5e0a018aa190f49d2f50d371aed
|
@ -38,6 +38,9 @@
|
|||||||
.workspaces .contents {
|
.workspaces .contents {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: @transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-label {
|
.workspace-label {
|
||||||
|
@ -131,9 +131,12 @@ cssFilesByHostname =
|
|||||||
, ("imalison-home", ["taffybar.css"])
|
, ("imalison-home", ["taffybar.css"])
|
||||||
, ("ivanm-dfinity-razer", ["taffybar.css"])
|
, ("ivanm-dfinity-razer", ["taffybar.css"])
|
||||||
, ("ryzen-shine", ["taffybar.css"])
|
, ("ryzen-shine", ["taffybar.css"])
|
||||||
|
, ("stevie-nixos", ["taffybar.css"])
|
||||||
]
|
]
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
|
enableLogger "Graphics.UI.GIGtkStrut" DEBUG
|
||||||
|
|
||||||
hostName <- getHostName
|
hostName <- getHostName
|
||||||
homeDirectory <- getHomeDirectory
|
homeDirectory <- getHomeDirectory
|
||||||
let relativeFiles = fromMaybe ["taffybar.css"] $ lookup hostName cssFilesByHostname
|
let relativeFiles = fromMaybe ["taffybar.css"] $ lookup hostName cssFilesByHostname
|
||||||
@ -203,7 +206,7 @@ main = do
|
|||||||
, barPosition = Top
|
, barPosition = Top
|
||||||
, widgetSpacing = 0
|
, widgetSpacing = 0
|
||||||
, barPadding = 0
|
, barPadding = 0
|
||||||
, barHeight = 50
|
, barHeight = ScreenRatio $ 1/27
|
||||||
, cssPaths = cssFiles
|
, cssPaths = cssFiles
|
||||||
, startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329"
|
, startupHook = void $ setCMCAPIKey "f9e66366-9d42-4c6e-8d40-4194a0aaa329"
|
||||||
}
|
}
|
||||||
@ -213,16 +216,19 @@ main = do
|
|||||||
, baseConfig { endWidgets = laptopEndWidgets }
|
, baseConfig { endWidgets = laptopEndWidgets }
|
||||||
)
|
)
|
||||||
, ( "imalison-home"
|
, ( "imalison-home"
|
||||||
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
|
, baseConfig { endWidgets = fullEndWidgets }
|
||||||
)
|
)
|
||||||
, ( "ryzen-shine"
|
, ( "ryzen-shine"
|
||||||
, baseConfig { endWidgets = fullEndWidgets, barHeight = 50 }
|
, baseConfig { endWidgets = fullEndWidgets }
|
||||||
)
|
)
|
||||||
, ( "ivanm-dfinity-razer"
|
, ( "ivanm-dfinity-razer"
|
||||||
, baseConfig { endWidgets = laptopEndWidgets, barHeight = 42 }
|
, baseConfig { endWidgets = laptopEndWidgets }
|
||||||
)
|
)
|
||||||
, ( "adele"
|
, ( "adele"
|
||||||
, baseConfig { endWidgets = laptopEndWidgets, barHeight = 45 }
|
, baseConfig { endWidgets = laptopEndWidgets }
|
||||||
|
)
|
||||||
|
, ( "stevie-nixos"
|
||||||
|
, baseConfig { endWidgets = laptopEndWidgets }
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
simpleTaffyConfig = selectedConfig
|
simpleTaffyConfig = selectedConfig
|
||||||
@ -231,7 +237,7 @@ main = do
|
|||||||
-- , startWidgets = []
|
-- , startWidgets = []
|
||||||
}
|
}
|
||||||
startTaffybar $
|
startTaffybar $
|
||||||
appendHook (void $ getHost False) $
|
appendHook (void $ getTrayHost False) $
|
||||||
withLogServer $
|
withLogServer $
|
||||||
withToggleServer $
|
withToggleServer $
|
||||||
toTaffyConfig simpleTaffyConfig
|
toTaffyConfig simpleTaffyConfig
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit aa18707c3ef96db88208509c2a18c6670e831661
|
Subproject commit 485a0ad506b8fb4a93a01a7cdd437121ecf5e40c
|
@ -66,6 +66,7 @@ import XMonad.Layout.Accordion
|
|||||||
import XMonad.Layout.BoringWindows
|
import XMonad.Layout.BoringWindows
|
||||||
import XMonad.Layout.ConditionalLayout
|
import XMonad.Layout.ConditionalLayout
|
||||||
import XMonad.Layout.Cross
|
import XMonad.Layout.Cross
|
||||||
|
import XMonad.Layout.Decoration
|
||||||
import XMonad.Layout.Grid
|
import XMonad.Layout.Grid
|
||||||
import XMonad.Layout.LayoutCombinators
|
import XMonad.Layout.LayoutCombinators
|
||||||
import XMonad.Layout.LayoutModifier
|
import XMonad.Layout.LayoutModifier
|
||||||
@ -90,7 +91,6 @@ import XMonad.Util.Minimize
|
|||||||
import XMonad.Util.NamedScratchpad as NS
|
import XMonad.Util.NamedScratchpad as NS
|
||||||
import XMonad.Util.NamedWindows (getName)
|
import XMonad.Util.NamedWindows (getName)
|
||||||
import XMonad.Util.Run
|
import XMonad.Util.Run
|
||||||
import XMonad.Util.Themes
|
|
||||||
import XMonad.Util.WorkspaceCompare
|
import XMonad.Util.WorkspaceCompare
|
||||||
|
|
||||||
myConfig = def
|
myConfig = def
|
||||||
@ -100,8 +100,6 @@ myConfig = def
|
|||||||
= namedScratchpadManageHook scratchpads
|
= namedScratchpadManageHook scratchpads
|
||||||
, layoutHook = myLayoutHook
|
, layoutHook = myLayoutHook
|
||||||
, borderWidth = 0
|
, borderWidth = 0
|
||||||
, normalBorderColor = "#0096ff"
|
|
||||||
, focusedBorderColor = "#ffff00"
|
|
||||||
, logHook
|
, logHook
|
||||||
= updatePointer (0.5, 0.5) (0, 0)
|
= updatePointer (0.5, 0.5) (0, 0)
|
||||||
<> toggleFadeInactiveLogHook 0.9
|
<> toggleFadeInactiveLogHook 0.9
|
||||||
@ -112,12 +110,24 @@ myConfig = def
|
|||||||
, handleEventHook
|
, handleEventHook
|
||||||
= followIfNoMagicFocus
|
= followIfNoMagicFocus
|
||||||
<> minimizeEventHook
|
<> minimizeEventHook
|
||||||
<> restartEventHook
|
-- <> restartEventHook
|
||||||
<> myScratchPadEventHook
|
<> myScratchPadEventHook
|
||||||
, startupHook = myStartup
|
, startupHook = myStartup
|
||||||
, keys = customKeys (const []) addKeys
|
, 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
|
restartEventHook e@ClientMessageEvent { ev_message_type = mt } = do
|
||||||
a <- getAtom "XMONAD_RESTART"
|
a <- getAtom "XMONAD_RESTART"
|
||||||
if mt == a
|
if mt == a
|
||||||
@ -127,14 +137,13 @@ restartEventHook _ = return $ All True
|
|||||||
|
|
||||||
myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation }
|
myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation }
|
||||||
|
|
||||||
main = do
|
main =
|
||||||
dirs <- getDirectories
|
xmonad
|
||||||
(`launch` dirs)
|
. docks
|
||||||
. docks
|
. pagerHints
|
||||||
. pagerHints
|
. ewmh
|
||||||
. ewmh
|
. ewmhFullscreen
|
||||||
. ewmhFullscreen
|
. withNavigation2DConfig myNavigation2DConfig $ myConfig
|
||||||
. withNavigation2DConfig myNavigation2DConfig $ myConfig
|
|
||||||
|
|
||||||
-- Utility functions
|
-- Utility functions
|
||||||
|
|
||||||
@ -306,7 +315,7 @@ instance Transformer MyToggles Window where
|
|||||||
transform AVOIDSTRUTS x k = k (avoidStruts x) unmodifyLayout
|
transform AVOIDSTRUTS x k = k (avoidStruts x) unmodifyLayout
|
||||||
|
|
||||||
myToggles = [LIMIT, GAPS, MAGICFOCUS, MAGNIFY, AVOIDSTRUTS]
|
myToggles = [LIMIT, GAPS, MAGICFOCUS, MAGNIFY, AVOIDSTRUTS]
|
||||||
otherToggles = [NBFULL, MIRROR, NOBORDERS, SMARTBORDERS]
|
otherToggles = [NBFULL, NOBORDERS, MIRROR, SMARTBORDERS]
|
||||||
toggleHandlers =
|
toggleHandlers =
|
||||||
[ (Toggle GAPS, toggleAll)
|
[ (Toggle GAPS, toggleAll)
|
||||||
, (Toggle MAGNIFY, toggleAll)
|
, (Toggle MAGNIFY, toggleAll)
|
||||||
@ -406,7 +415,7 @@ layoutInfo =
|
|||||||
rename "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||!
|
rename "2 Columns" (Tall 1 (3 / 100) (1 / 2)) |||!
|
||||||
Accordion |||! simpleCross |||! myTabbed
|
Accordion |||! simpleCross |||! myTabbed
|
||||||
where
|
where
|
||||||
myTabbed = rename "Tabbed" $ tabbed shrinkText (theme robertTheme)
|
myTabbed = rename "Tabbed" $ tabbed shrinkText gothamTheme
|
||||||
|
|
||||||
layoutList = snd layoutInfo
|
layoutList = snd layoutInfo
|
||||||
|
|
||||||
|
@ -5043,7 +5043,7 @@ load-theme hook (See the heading below).
|
|||||||
** After ~load-theme~ hook
|
** After ~load-theme~ hook
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defvar imalison:light-theme 'solarized-light)
|
(defvar imalison:light-theme 'solarized-light)
|
||||||
(defvar imalison:dark-theme 'flatland)
|
(defvar imalison:dark-theme 'gotham)
|
||||||
|
|
||||||
(defun imalison:after-load-theme (&rest _args)
|
(defun imalison:after-load-theme (&rest _args)
|
||||||
(when (fboundp 'powerline-reset)
|
(when (fboundp 'powerline-reset)
|
||||||
|
@ -98,3 +98,6 @@
|
|||||||
[user]
|
[user]
|
||||||
email = IvanMalison@gmail.com
|
email = IvanMalison@gmail.com
|
||||||
name = Ivan Malison
|
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 = {
|
environment = {
|
||||||
homeBinInPath = true;
|
homeBinInPath = true;
|
||||||
localBinInPath = true;
|
localBinInPath = true;
|
||||||
|
shellAliases = {
|
||||||
|
df_ssh = "TERM='xterm-256color ssh -o StrictHostKeyChecking=no'";
|
||||||
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
vterm_printf(){
|
vterm_printf(){
|
||||||
if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then
|
if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then
|
||||||
# Tell tmux to pass the escape sequences through
|
# Tell tmux to pass the escape sequences through
|
||||||
printf "\ePtmux;\e\e]%s\007\e\\" "$1"
|
printf "\ePtmux;\e\e]%s\007\e\\" "$1"
|
||||||
|
@ -31,6 +31,7 @@ in
|
|||||||
dolphin
|
dolphin
|
||||||
element-desktop
|
element-desktop
|
||||||
gpick
|
gpick
|
||||||
|
torbrowser
|
||||||
|
|
||||||
# Appearance
|
# Appearance
|
||||||
numix-icon-theme-circle
|
numix-icon-theme-circle
|
||||||
|
@ -73,15 +73,15 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
repositories = {
|
repositories = {
|
||||||
config = {
|
config = {
|
||||||
path = "/home/imalison/config";
|
path = config.home.homeDirectory + "/config";
|
||||||
uri = "git@github.com:IvanMalison/config.git";
|
uri = "git@github.com:IvanMalison/config.git";
|
||||||
};
|
};
|
||||||
org = {
|
org = {
|
||||||
path = "/home/imalison/org";
|
path = config.home.homeDirectory + "/org";
|
||||||
uri = "git@github.com:IvanMalison/org.git";
|
uri = "git@github.com:IvanMalison/org.git";
|
||||||
};
|
};
|
||||||
password-store = {
|
password-store = {
|
||||||
path = "/home/imalison/.password-store";
|
path = config.home.homeDirectory + "/.password-store";
|
||||||
uri = "git@github.com:IvanMalison/.password-store.git";
|
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, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
../users.nix
|
../users.nix
|
||||||
../full.nix
|
../full.nix
|
||||||
../dfinity.nix
|
../dfinity.nix
|
||||||
|
../games.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
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";
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Subproject commit c159b9d51e4bd7a3d29744ab1c6baa78c71bf93b
|
Subproject commit 022c300df10d5e90ea9738441fd3d978b80596e5
|
@ -27,6 +27,7 @@
|
|||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzGkqGJm+nrMvsrfuWOLVxXHvi0UL1ULJmyfzS9sKpy imalison@biskcomp.local"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzGkqGJm+nrMvsrfuWOLVxXHvi0UL1ULJmyfzS9sKpy imalison@biskcomp.local"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuO/tc728fKyctlufiehZQuKsD0XDiS/5x7TImk0Ip4 imalison@ivanm-dfinity-razer"
|
"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 AAAAC3NzaC1lZDI1NTE5AAAAIIiZd2FiyTJvuvDh5hH0L3BqZV3E/kwwyau57QD7pz7C cardno:000614590850" # Dfinity Admin
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHOEt0T+Hxxat5tbkD9mSu8T271QjRrLr2EA0rIDXUNL cardno:000614590748" # Dfinity Read-Only
|
"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"
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUSkj7587e+MAUNyU/KRpw9Vk++53Wv5nB+0V1QgiTO3rMQe6HJt0Tm2wi/o/T8GNjueT2D69YgkqOIF1FQwsj2EFLObcMzeBgs5gTSglqggA2I91BIc1vvgjCDpogOMAzAQGlTxRnqrEXhqG0jJtw8KIzLr9WrvWLdTT4rHtWS8RoOBgkQ8oxbggZ4vtbMBIwoIAYGRr70KBRNCsLTPLa8yEf+DDQxq1entzxSjHXHgyeBSVVpPCrBVmhjandk+lIFInjvAiAE1ZkJHSRccL73ORmgb1crwH7xlD9NwBPmypowMi8UIRMKfL2lNehT0AQIlEAikUBLMDzPIPhnwLZ imalison@ivanm-dfinity-razer.local"
|
||||||
|
Loading…
Reference in New Issue
Block a user