diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-23 23:21:21 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-23 23:23:25 +0530 |
| commit | 22b4aed9c5c8793e04d0a67202fe0f1cddf66817 (patch) | |
| tree | d9c972f43c24b83d3303f657bdeaee06032e1e65 /login.nix | |
| parent | c0b5675e3a33ab561a6a79fc66e90cbd23db8e8b (diff) | |
| download | nixos-config-22b4aed9c5c8793e04d0a67202fe0f1cddf66817.tar.gz nixos-config-22b4aed9c5c8793e04d0a67202fe0f1cddf66817.zip | |
minor changes
Diffstat (limited to 'login.nix')
| -rw-r--r-- | login.nix | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -2,19 +2,18 @@ let sessions = [ ["tty1" windowManagers.dwm ] - ["tty2" windowManagers.browser ] + #["tty2" windowManagers.bspwm ] ]; windowManagers = { - dwm = '' - while true; do - (ssh-agent dwm &>> /tmp/dwm.log) || break; - done - ''; - # TODO: Bspwm - browser = '' - exec firefox; - ''; + dwm = looped "dwm"; + bspwm = exec "bspwm"; }; + exec = s: "exec ${s}"; + looped = s: '' + while true; do + ssh-agent ${s} || break; + done + ''; in { # User users.users.imsohexy = { |
