Compare commits
No commits in common. "f5a10d5570cce9f71fc3b20fda8cb60fe33f701c" and "d7bfd4b56118181d92266a5a42f9a4fc90939304" have entirely different histories.
f5a10d5570
...
d7bfd4b561
6 changed files with 6 additions and 62 deletions
|
|
@ -58,7 +58,6 @@
|
||||||
scummvm
|
scummvm
|
||||||
|
|
||||||
# reading
|
# reading
|
||||||
xournalpp # pdf editor
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,17 +56,6 @@
|
||||||
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]target\\'")
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]target\\'")
|
||||||
)
|
)
|
||||||
|
|
||||||
(defun set-frame-alpha (arg &optional active)
|
|
||||||
"Interactively set the transparency of the active frame"
|
|
||||||
(interactive "nEnter alpha value (1-100): \np")
|
|
||||||
(let* ((elt (assoc 'alpha default-frame-alist))
|
|
||||||
(old (frame-parameter nil 'alpha))
|
|
||||||
(new (cond ((atom old) `(,arg ,arg))
|
|
||||||
((eql 1 active) `(,arg ,(cadr old)))
|
|
||||||
(t `(,(car old) ,arg)))))
|
|
||||||
(if elt (setcdr elt new) (push `(alpha ,@new) default-frame-alist))
|
|
||||||
(set-frame-parameter nil 'alpha new)))
|
|
||||||
|
|
||||||
(defun my/org-id-update-id-current-file ()
|
(defun my/org-id-update-id-current-file ()
|
||||||
"Scan the current buffer for Org-ID locations and update them."
|
"Scan the current buffer for Org-ID locations and update them."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
(org +pandoc +present +gnuplot +noter) ; organize your plain life in plain text
|
(org +pandoc +present +gnuplot +noter) ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
plantuml ; diagrams for confusing people more
|
plantuml ; diagrams for confusing people more
|
||||||
(purescript +lsp) ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp +tree-sitter +pyenv) ; beautiful is better than ugly
|
(python +lsp +tree-sitter +pyenv) ; beautiful is better than ugly
|
||||||
qt ; the 'cutest' gui framework ever
|
qt ; the 'cutest' gui framework ever
|
||||||
(racket +lsp +xp) ; a DSL for DSLs
|
(racket +lsp +xp) ; a DSL for DSLs
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ myConfig =
|
||||||
, ("M-S-r", compileRestart True)
|
, ("M-S-r", compileRestart True)
|
||||||
, ("M-S-q", restart "xmonad" True)
|
, ("M-S-q", restart "xmonad" True)
|
||||||
, ("M-C-s", unGrab *> spawn "scrot -s")
|
, ("M-C-s", unGrab *> spawn "scrot -s")
|
||||||
, ("M-S-s", sendMessage Docks.ToggleStruts)
|
, ("M-b", sendMessage Docks.ToggleStruts)
|
||||||
, ("M-f", sendMessage (Toggle "Full"))
|
, ("M-f", sendMessage (Toggle "Full"))
|
||||||
, ("M-p", spawn appLauncher)
|
, ("M-p", spawn appLauncher)
|
||||||
, ("M-i", spawn passLauncher)
|
, ("M-i", spawn passLauncher)
|
||||||
|
|
@ -124,21 +124,16 @@ myConfig =
|
||||||
("M-s M-t", namedScratchpadAction scratchpads "shell")
|
("M-s M-t", namedScratchpadAction scratchpads "shell")
|
||||||
, ("M-s M-s", namedScratchpadAction scratchpads "notes")
|
, ("M-s M-s", namedScratchpadAction scratchpads "notes")
|
||||||
, -- backlight control
|
, -- backlight control
|
||||||
|
|
||||||
("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5")
|
("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5")
|
||||||
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5")
|
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5")
|
||||||
, ("<F5>", spawn "xbacklight -dec 5")
|
, ("<F5>", spawn "xbacklight -dec 5")
|
||||||
, ("<F6>", spawn "xbacklight -inc 5")
|
, ("<F6>", spawn "xbacklight -inc 5")
|
||||||
, -- transparency
|
|
||||||
("S-<XF86MonBrightnessDown>", spawn "picom-trans -c -5")
|
|
||||||
, ("S-<XF86MonBrightnessUp>", spawn "picom-trans -c +5")
|
|
||||||
, ("M-S-d", spawn "picom-trans -c +5")
|
|
||||||
, ("M-S-b", spawn "picom-trans -c -5")
|
|
||||||
, -- volume control
|
, -- volume control
|
||||||
|
|
||||||
("<XF86AudioMute>", changeVolume ToggleVolume)
|
("<XF86AudioMute>", changeVolume ToggleVolume)
|
||||||
, ("<XF86AudioLowerVolume>", changeVolume $ LowerVolume 5)
|
, ("<XF86AudioLowerVolume>", changeVolume $ LowerVolume 5)
|
||||||
, ("<XF86AudioRaiseVolume>", changeVolume $ RaiseVolume 5)
|
, ("<XF86AudioRaiseVolume>", changeVolume $ RaiseVolume 5)
|
||||||
, ("M-d", changeVolume $ RaiseVolume 5)
|
|
||||||
, ("M-b", changeVolume $ LowerVolume 5)
|
|
||||||
, ("M-a", sendMessage Balance)
|
, ("M-a", sendMessage Balance)
|
||||||
, ("M-S-a", sendMessage Equalize)
|
, ("M-S-a", sendMessage Equalize)
|
||||||
, ("M-o", sendMessage Rotate)
|
, ("M-o", sendMessage Rotate)
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,11 @@
|
||||||
{
|
{ lib, config, pkgs, inputs, ... }: {
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
(
|
({ ... }: { nixpkgs = { config.allowUnfree = true; }; })
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
nixpkgs = {
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
../../modules/security.nix
|
../../modules/security.nix
|
||||||
../../modules/common-system.nix
|
../../modules/common-system.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
../../home/anne/default.nix
|
../../home/anne/default.nix
|
||||||
../../home/alex/default.nix
|
../../home/alex/default.nix
|
||||||
../../modules/podman
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
# Enable common container config files in /etc/containers
|
|
||||||
virtualisation.containers.enable = true;
|
|
||||||
virtualisation = {
|
|
||||||
podman = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
|
||||||
dockerCompat = true;
|
|
||||||
|
|
||||||
# Required for containers under podman-compose to be able to talk to each other.
|
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Useful other development tools
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
dive # look into docker image layers
|
|
||||||
podman-tui # status of containers in the terminal
|
|
||||||
# docker-compose # start group of containers for dev
|
|
||||||
podman-compose # start group of containers for dev
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue