Compare commits

..

3 commits

Author SHA1 Message Date
Sean Buckley
63aefa9edf make sure desktops apps only install on desktops 2024-10-18 00:13:23 -04:00
Sean Buckley
c2fa267fac Revert "fix powerline jobs display"
This reverts commit a7ca02290b.
2024-10-13 23:31:16 -04:00
Sean Buckley
430551139f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1' (2024-10-06)
  → 'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
2024-10-13 02:12:13 -04:00
5 changed files with 47 additions and 42 deletions

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1728241625, "lastModified": 1728492678,
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=", "narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1", "rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -27,7 +27,7 @@ let
"-git-assume-unchanged-size 0" "-git-assume-unchanged-size 0"
"-theme /etc/powerline-theme.json" "-theme /etc/powerline-theme.json"
"-path-aliases '~/git=~/git'" "-path-aliases '~/git=~/git'"
"-jobs $(jobs -pr | wc -l)" "-jobs $(jobs -p | wc -l)"
]; ];
termtitle = ''\[\e]0;\u@\h: \w\a\]''; termtitle = ''\[\e]0;\u@\h: \w\a\]'';

View file

@ -1,7 +1,7 @@
{ lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
config = (pkgs.formats.toml { }).generate "alacritty.toml" aconfig = (pkgs.formats.toml { }).generate "alacritty.toml"
{ {
env.TERM = "xterm-256color"; env.TERM = "xterm-256color";
font.size = 12; font.size = 12;
@ -32,9 +32,11 @@ let
in in
{ {
environment.etc."xdg/alacritty.toml".source = config; config = lib.mkIf (config.sconfig.desktop.enable) {
environment.etc."xdg/alacritty.toml".source = aconfig;
environment.systemPackages = [ environment.systemPackages = [
(lib.hiPrio notify-fix) (lib.hiPrio notify-fix)
pkgs.alacritty pkgs.alacritty
]; ];
};
} }

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: { config, lib, pkgs, ... }:
{ {
config = lib.mkIf (config.sconfig.desktop.enable) {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(vscode-with-extensions.override { (vscode-with-extensions.override {
vscodeExtensions = with pkgs.vscode-extensions; [ vscodeExtensions = with pkgs.vscode-extensions; [
@ -32,4 +33,5 @@
"update.mode" = "none"; "update.mode" = "none";
} }
); );
};
} }

View file

@ -36,6 +36,7 @@ in
normal.A-j = ":buffer-previous"; normal.A-j = ":buffer-previous";
normal.A-k = ":buffer-next"; normal.A-k = ":buffer-next";
normal.space.e = ":w"; normal.space.e = ":w";
normal.space.x = ":q";
normal.space.backspace = ":reset-diff-change"; normal.space.backspace = ":reset-diff-change";
}; };
}; };