Compare commits

..

6 commits

Author SHA1 Message Date
9ea9664f61 flake.lock: Update
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 33m40s
Flake lock file updates:

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/42b7368d193ad1939c32e87b48e970423f22f242' (2025-01-08)
  → 'github:nix-community/emacs-overlay/0924fcda6ea2ff09c857663d965a6d01e5d13ea6' (2025-01-09)
• Updated input 'homeManager':
    'github:nix-community/home-manager/456e599f9101ed153dde268b4401c5d294ba6c8c' (2025-01-08)
  → 'github:nix-community/home-manager/d4aebb947a301b8da8654a804979a738c5c5da50' (2025-01-09)
• Updated input 'nixDarwin':
    'github:LnL7/nix-darwin/ba9b3173b0f642ada42b78fb9dfc37ca82266f6c' (2025-01-05)
  → 'github:LnL7/nix-darwin/57733bd1dc81900e13438e5b4439239f1b29db0e' (2025-01-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d' (2025-01-04)
  → 'github:NixOS/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912' (2025-01-08)
2025-01-09 15:01:41 +00:00
8fb56c0005
Explicit niri config for picard's external monitor
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 4m59s
2025-01-09 11:58:32 +01:00
a38be99ea0
Fix niri config for kirk's monitor
Some checks failed
/ test (push) Has been cancelled
2025-01-09 11:55:02 +01:00
db2dc67e47
Add ultra-scroll to Emacs
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 29m11s
2025-01-09 11:17:38 +01:00
8b8ce6baa3
Disable swayvnc 2025-01-09 11:17:19 +01:00
a313be12ea
Bump inputs 2025-01-09 11:17:06 +01:00
8 changed files with 44 additions and 30 deletions

24
flake.lock generated
View file

@ -156,11 +156,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1736327656,
"narHash": "sha256-vDli473KKyf13uexB4Ja9Jt7KmeUSbHbeuwIDP0M2yM=",
"lastModified": 1736414269,
"narHash": "sha256-HrRQ54D2JfevmU3u7Rw2auCdJPaT7PlIg3IUf8iamBo=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "42b7368d193ad1939c32e87b48e970423f22f242",
"rev": "0924fcda6ea2ff09c857663d965a6d01e5d13ea6",
"type": "github"
},
"original": {
@ -582,11 +582,11 @@
]
},
"locked": {
"lastModified": 1736336279,
"narHash": "sha256-9Xp2X7ofKY4h39vUbd4coNambsG7Y/9axLFyTXaXOMU=",
"lastModified": 1736421950,
"narHash": "sha256-RyrX0WFXxFrYvzHNLTIyuk3NcNl3UBykuYru/P0zW5E=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "45bcdbc910dc5131943bb6f7edb156617898fd1a",
"rev": "d4aebb947a301b8da8654a804979a738c5c5da50",
"type": "github"
},
"original": {
@ -864,11 +864,11 @@
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1736085891,
"narHash": "sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA=",
"lastModified": 1736370755,
"narHash": "sha256-iWcjToBpx4PUd74uqvIGAfqqVfyrvRLRauC/SxEKIF0=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "ba9b3173b0f642ada42b78fb9dfc37ca82266f6c",
"rev": "57733bd1dc81900e13438e5b4439239f1b29db0e",
"type": "github"
},
"original": {
@ -1164,11 +1164,11 @@
},
"nixpkgs_9": {
"locked": {
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github"
},
"original": {

View file

@ -48,8 +48,6 @@
(native-comp-async-report-warnings-errors nil)
(inhibit-startup-message t)
(visible-bell t)
(scroll-conservatively 101) ;; more than 100 => redisplay doesn't recenter point)
(scroll-margin 3)
(temporary-file-directory "~/.emacs-saves/")
(backup-directory-alist `(("." . ,temporary-file-directory)))
(auto-save-files-name-transforms `((".*" ,temporary-file-directory t)))
@ -84,6 +82,13 @@
(async-shell-command (format "sudo nixos-rebuild --flake fleet %s -L" operation) buffer-name)))
)
(use-package ultra-scroll
:init
(setq scroll-conservatively 101 ; important!
scroll-margin 0)
:config
(ultra-scroll-mode 1))
(use-package doc-view
:custom
(doc-view-scale-internally nil)
@ -628,7 +633,6 @@
(add-to-list 'eat-semi-char-non-bound-keys '[?\e 108]) ; M-l
(eat-update-semi-char-mode-map)
(eat-reload)
:hook (eat-mode . (lambda () (setq-local scroll-margin 0)))
:bind (("C-c o t" . eat-project))
;; FIXME doesn't work well
;; ((eat-mode . compilation-shell-minor-mode))
@ -666,7 +670,6 @@
(defalias (car alias) (cdr alias)))
ccr/eshell-aliases)
:hook (eshell-mode . (lambda () (setq-local scroll-margin 0)))
:bind (("C-c o e" . project-eshell)
:map eshell-mode-map
("C-r" . eshell-atuin-history))) ;; i.e. just C-r in semi-char-mode

View file

@ -27,7 +27,7 @@ in
../waybar
../swayidle
../gammastep
../swaync
# ../swaync
../foot
];

View file

@ -75,7 +75,7 @@ environment {
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
/-output "eDP-1" {
output "eDP-1" {
// Uncomment this line to disable this output.
// off
@ -85,12 +85,12 @@ environment {
// for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "1920x1080@120.030"
mode "1920x1080@59.999"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 2
scale 1.2
// Transform allows to rotate the output counter-clockwise, valid values are:
// Transform allows to rotate the output counter-clockwise, valid values are:monitor
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
transform "normal"
@ -103,7 +103,13 @@ environment {
// so to put another output directly adjacent to it on the right, set its x to 1920.
// If the position is unset or results in an overlap, the output is instead placed
// automatically.
position x=1280 y=0
// position x=1280 y=0
}
output "Dell Inc. DELL U2515H 9X2VY5170PJL" {
mode "2560x1440@59.951"
scale 1
transform "normal"
}
// Settings that influence how windows are positioned and sized.

View file

@ -2,10 +2,5 @@
{
sound.enable = true;
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
users.extraUsers.ccr.extraGroups = [ "audio" ];
}

View file

@ -1,13 +1,13 @@
{
pkgs,
config,
lib,
...
}:
{
services.blueman.enable = true;
hardware.pulseaudio.enable = true;
hardware.bluetooth = {
enable = true;
enable = lib.mkDefault true;
settings = {
General = {
Name = config.networking.hostName;

View file

@ -3,6 +3,6 @@
services.pipewire.enable = true;
hardware.pulseaudio = {
enable = lib.mkForce false;
enable = false;
};
}

View file

@ -88,6 +88,16 @@ let
};
deps = [ ];
};
ultra-scroll = buildEmacsPackage {
name = "ultra-scroll";
src = pkgs.fetchFromGitHub {
owner = "jdtsmith";
repo = "ultra-scroll";
rev = "78ab497c6568e4a99f34a84b4c9bfe87d1a71d8c";
hash = "sha256-q/LGP69GRtEEbSpXi9JUoZjr/UV1QMVjQw96M6qxsZU=";
};
deps = [ ];
};
};
# *List* containing emacs packages from (M)ELPA