diff --git a/flake.nix b/flake.nix index 2cdb338..7ca353a 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,7 @@ base = if !(self ? rev) then throw "Dirty git tree detected." else { config, ... }: { - system = rec { + system = { configurationRevision = self.rev; nixos = rec { version = config.system.nixos.release + versionSuffix; diff --git a/users/rin/sxhkd.nix b/users/rin/sxhkd.nix index 2f6dbfc..b208461 100644 --- a/users/rin/sxhkd.nix +++ b/users/rin/sxhkd.nix @@ -2,8 +2,7 @@ let super = "Mod4"; alt = "Mod1"; - -in rec { +in { services.sxhkd = { enable = true; keybindings = { diff --git a/users/rin/zsh.nix b/users/rin/zsh.nix index e66fcab..1e22632 100644 --- a/users/rin/zsh.nix +++ b/users/rin/zsh.nix @@ -96,7 +96,7 @@ let bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down ''; -in rec { +in { programs.zsh = { enable = true; dotDir = ".config/zsh";