Compare commits

..

3 Commits

Author SHA1 Message Date
Nathan McCarty 7bfd69a3ee
Update flake 2023-04-18 17:20:13 -04:00
Nathan McCarty 5323903e01
Reconfigure sway for new monitor 2023-04-18 17:18:18 -04:00
Nathan McCarty 8bf60ef5aa
Update emacs 2023-04-18 16:53:41 -04:00
4 changed files with 25 additions and 44 deletions

View File

@ -27,17 +27,16 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1678526395, "lastModified": 1681842970,
"narHash": "sha256-ZPqJVulMfFx3gXk1/ttRz1JPO5sDLOuhl5rGoic6TUc=", "narHash": "sha256-9A+RKQp3hA4WKLeU4bnstf+650d6b5JOf3XvHyQ/4SQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "8be50d27360b033539b45cd3606a4278a55f69ec", "rev": "7f4b90040296ed6faacbcd9933927852d020df75",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "8be50d27360b033539b45cd3606a4278a55f69ec",
"type": "github" "type": "github"
} }
}, },
@ -49,11 +48,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1681649143, "lastModified": 1681798941,
"narHash": "sha256-1dbxmdAjsGxwPrEc0o9U6ZRmXKWdlMxk398cVRmrrpg=", "narHash": "sha256-mulagyF3gLDcGNhZXGigSJ55JJXa68XHjqUCMlk9UJU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "930adedd6087df3c324e380b0b4804cf13323eb2", "rev": "b8ecf873298667ef981781d762608e11390725a9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -376,11 +375,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1681648924, "lastModified": 1673540789,
"narHash": "sha256-pzi3HISK8+7mpEtv08Yr80wswyHKsz+RP1CROG1Qf6s=", "narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f294325aed382b66c7a188482101b0f336d1d7db", "rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -424,11 +423,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1681648924, "lastModified": 1681737997,
"narHash": "sha256-pzi3HISK8+7mpEtv08Yr80wswyHKsz+RP1CROG1Qf6s=", "narHash": "sha256-pHhjgsIkRMu80LmVe8QoKIZB6VZGRRxFmIvsC5S89k4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f294325aed382b66c7a188482101b0f336d1d7db", "rev": "f00994e78cd39e6fc966f0c4103f908e63284780",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -440,11 +439,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1681482634, "lastModified": 1681759395,
"narHash": "sha256-cT/nr3L8khEYZSGp8qqwxFH+/q4/547MfyOdSj6MhBk=", "narHash": "sha256-7aaRtLxLAy8qFVIA26ulB+Q5nDVzuQ71qi0s0wMjAws=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fda0d99c2cbbb5c89d8855d258cb0821bd9113ad", "rev": "cd749f58ba83f7155b7062dd49d08e5e47e44d50",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -578,11 +577,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1681589490, "lastModified": 1681758042,
"narHash": "sha256-/3h/z1u8WifIRmYOCnJxDGY7VpE0YgCjHF4G0aZRUAw=", "narHash": "sha256-2ljT/3NR4aECG3Uj5T0Tr+RqRUQe00G8CocbpTLZnhM=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "c28f538568290ac34a36d5a2b81250a3621bcf88", "rev": "9b835f334f2c61d66c8c6554ec90325992752ce3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -621,11 +620,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1681613729, "lastModified": 1681821695,
"narHash": "sha256-9Qb0tHW8l1hgFkuB76n4VT9UNUaR7QL3CgmJ5hcVYEg=", "narHash": "sha256-uwyBGo/9IALi97AfMuzkJroQQhV6hkybaZVdw6pRNG4=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "b7a6670a28b01cd1f62879921e36be2c69c4137a", "rev": "5698b06b0731a2c15ff8c2351644427f8ad33993",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -25,10 +25,7 @@
url = "github:nix-community/fenix"; url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
emacs = { emacs = { url = "github:nix-community/emacs-overlay"; };
url =
"github:nix-community/emacs-overlay/8be50d27360b033539b45cd3606a4278a55f69ec";
};
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -92,7 +92,7 @@ with nLib; {
package = pkgs.firefox-beta-bin; package = pkgs.firefox-beta-bin;
}; };
nathan.programs.emacs.package = nathan.programs.emacs.package =
lib.mkDefault inputs.emacs.packages."${pkgs.system}".emacsPgtk; lib.mkDefault inputs.emacs.packages."${pkgs.system}".emacsUnstablePgtk;
# We should be managing xdg stuff # We should be managing xdg stuff
xdg = { xdg = {
enable = true; enable = true;

View File

@ -16,34 +16,19 @@
# Sway outputs # Sway outputs
wayland.windowManager.sway.config = { wayland.windowManager.sway.config = {
output = { output = {
# DP-1 = {
# pos = "0 140";
# scale = "1";
# subpixel = "rgb";
# max_render_time = "6";
# };
DP-3 = { disable = ""; };
DP-1 = { DP-1 = {
pos = "2560 0";
scale = "1.25"; scale = "1.25";
subpixel = "rgb"; subpixel = "rgb";
max_render_time = "6"; max_render_time = "6";
}; adaptive_sync = "on";
HDMI-A-1 = {
pos = "5632 140";
scale = "1";
subpixel = "rgb";
max_render_time = "6";
}; };
}; };
input = { "type:pointer" = { pointer_accel = "-0.3"; }; }; input = { "type:pointer" = { pointer_accel = "-0.3"; }; };
startup = [ startup = [
# GLPaper # GLPaper
# { command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; } # { command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; }
{ command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; }
{ {
command = command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork";
"glpaper HDMI-A-1 ${../../custom-files/sway/selen.frag} --fork";
} }
# Up the mouse dpi # Up the mouse dpi
{ command = "solaar config 1 dpi 4000"; } { command = "solaar config 1 dpi 4000"; }