Compare commits
104 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ddf6e9d16a | |||
| 3263e03a34 | |||
| 8d615defee | |||
| 815211acfb | |||
| 43fb763905 | |||
| 27dccc1d3d | |||
| 871ea25216 | |||
| a3708a4edf | |||
| 17591698f9 | |||
| 31fde75af8 | |||
| 5bb4b428d3 | |||
| 9b451698e8 | |||
| 0257f90512 | |||
| 7bc47e3a98 | |||
| 8d4f6089e5 | |||
| b82cccce60 | |||
| 942a3c8f91 | |||
| 33b99acca7 | |||
| ca3c834cc8 | |||
| 78c4946670 | |||
| 8a66c2b594 | |||
| e7d11e541d | |||
| 739f3a5d0e | |||
| fa5ae0baeb | |||
| a8a6f3947c | |||
| 5822fd6227 | |||
| 4f578fe894 | |||
| a4827fa128 | |||
| cf705ec2ec | |||
| 377e48aa0d | |||
| 6c30aaf6c8 | |||
| b828a306fd | |||
| 0aec0f831e | |||
| 778681f603 | |||
| a57a9a46a2 | |||
| ec3c43a20a | |||
| f7d94aa6a8 | |||
| f6040886f1 | |||
| 278d4d187c | |||
| 2c77f45b7e | |||
| af871ac2dd | |||
| b054c78122 | |||
| abb8bebbd1 | |||
| 90f182b49f | |||
| 33a93dfea6 | |||
| b179698e71 | |||
| 5d39b69d44 | |||
| 030e60a1a5 | |||
| 0a693000cf | |||
| b230226f29 | |||
| 881ec81c5e | |||
| 8f55ba1755 | |||
| 9407447ad5 | |||
| ab58016299 | |||
| 888f60c175 | |||
| db7a5f0bf9 | |||
| 0c08e95cfc | |||
| b23bfb90eb | |||
| c812dfc45d | |||
| 2e4dee74aa | |||
| fa901820da | |||
| 00bf6bb8db | |||
| 509fd6e8a6 | |||
| 946adc522d | |||
| b5ab6a2845 | |||
| 923d4e9b40 | |||
| d6ec2908ab | |||
| c0ceffc557 | |||
| 12e00be90c | |||
| 606855aedd | |||
| 1eb58fae21 | |||
| 9acd1e0f48 | |||
| 4bc99c40d3 | |||
| d7b6e6b944 | |||
| 8189ea60fc | |||
| e8428e0487 | |||
| c37126a731 | |||
| a7029d0f46 | |||
| 85050715fc | |||
| 41b9279bc9 | |||
| ea04829c71 | |||
| bcc9a7bf6e | |||
| d66a6f9895 | |||
| 4b2685f7e1 | |||
| 275b054746 | |||
| 90113aa08e | |||
| 96a283f505 | |||
| d5ac189e66 | |||
| 233f3341bf | |||
| 866bd86ea3 | |||
| 35e4745ec0 | |||
| f169c425ef | |||
| f01eb7d39c | |||
| 49f4498fa4 | |||
| 86516997ec | |||
| aeafa5bbe9 | |||
| b65bc1696b | |||
| 1ce125327d | |||
| 66cca6bc2f | |||
| 087a160601 | |||
| 7ba91ab1a4 | |||
| fceb70c5e5 | |||
| c344e97678 | |||
| 6fbb14e637 |
|
After Width: | Height: | Size: 302 KiB |
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 4.1 MiB |
|
After Width: | Height: | Size: 4.3 MiB |
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
nixos-rebuild switch --fast --flake .#condoserver --target-host root@192.168.86.21 --build-host root@192.168.86.21
|
||||
nixos-rebuild switch --fast --flake .#condoserver --target-host root@condoserver.room409.wg.test --build-host root@condoserver.room409.wg.test
|
||||
|
||||
@@ -1,18 +1,232 @@
|
||||
{
|
||||
"nodes": {
|
||||
"awww": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779666993,
|
||||
"narHash": "sha256-W0yA7Y37oj5BBzl4ojO8dtv9MuOvdrIZDxtRjs7kpdg=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "9b7f47f7f394dce0a17a7b161e0d2fe391ce72b3",
|
||||
"revCount": 1366,
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755819240,
|
||||
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1765809053,
|
||||
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-helix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1776754714,
|
||||
"narHash": "sha256-E3OAK27smtATTmX45uoTSRsVD+Y+ZiVVfgM/tjpbtYg=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"rev": "4d508123037e7851ad36ebf7d9c48b0e9e1eb581",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-vim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1732806396,
|
||||
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-vim",
|
||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-vim",
|
||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1779670703,
|
||||
"narHash": "sha256-UdfMivNMwCCqQsYDg5pSz8X2IOaOrIZLIIy+Bg3CO2o=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "942159e73e40bf785816f7f1f5feed9ef3d7c8f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1761588595,
|
||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nur",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733312601,
|
||||
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778716662,
|
||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fromYaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1731966426,
|
||||
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767737596,
|
||||
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"utils": "utils"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1676367705,
|
||||
"narHash": "sha256-un5UbRat9TwruyImtwUGcKF823rCEp4fQxnsaLFL7CM=",
|
||||
"lastModified": 1779726696,
|
||||
"narHash": "sha256-/p37CB5n6Wpw250b0Lq0CYwNq2D8uGKzDoBulyLcQqA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "da72e6fc6b7dc0c3f94edbd310aae7cd95c678b5",
|
||||
"rev": "1a95e2efb477959b70b4a14c51035975c0481df6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -21,13 +235,87 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri": {
|
||||
"inputs": {
|
||||
"niri-stable": "niri-stable",
|
||||
"niri-unstable": "niri-unstable",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"xwayland-satellite-stable": "xwayland-satellite-stable",
|
||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779748545,
|
||||
"narHash": "sha256-AbRQrrpcNTBUoIf7Kc1qsdhsRLtZ0DDw+udm+8NWlJk=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "3754a033e05c750ef46fe4f078d79b826c4f9287",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1756556321,
|
||||
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YaLTeR",
|
||||
"ref": "v25.08",
|
||||
"repo": "niri",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1779374863,
|
||||
"narHash": "sha256-qKWgJ2MUODpg+b8tOwWMdMKREvs8TdGBz63SHaQZCeA=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "4294948cf1c70c50e938383c2c865d7ca455ac7e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1779826373,
|
||||
"narHash": "sha256-3sRzgLX86qV5NlhWUAufLmHwkyP03tmL3VdZIM13dEo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "ef4efb84766a166c906bd55759574676bf91267c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1676569297,
|
||||
"narHash": "sha256-2n4C4H3/U+3YbDrQB6xIw7AaLdFISCCFwOkcETAigqU=",
|
||||
"lastModified": 1779560665,
|
||||
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ac1f5b72a9e95873d1de0233fddcb56f99884b37",
|
||||
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -36,41 +324,280 @@
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"vps_nixpkgs": "vps_nixpkgs"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1667395993,
|
||||
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"vps_nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1673410828,
|
||||
"narHash": "sha256-xAggTjXt7iqOe4lNRtq+B31cjxchvJOr9zIJJ4JmfY8=",
|
||||
"lastModified": 1779467186,
|
||||
"narHash": "sha256-nOesoDCiXcUftqbRBMz9tt4blI5PvljMWbm3kuCA+0s=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9852294f15c380cd61fd441538982426f8ee8ccc",
|
||||
"rev": "b77b3de8775677f84492abe84635f87b0e153f0f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "master",
|
||||
"type": "indirect"
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779838643,
|
||||
"narHash": "sha256-U/g0sIgvIlc1u3pxjXK+lcaJUlP4Dj8OaoE9C/OpAJ4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "ad930400ca1de33daf9eb9bdcbc480eb4b1b220c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur_2": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"stylix",
|
||||
"flake-parts"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779766384,
|
||||
"narHash": "sha256-P7Ohnlq8b8b2fU+Sgkrej7LBTM60LBTkHleLuYzmLmU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "57800b7ab648725ccd33551d01484ee14952ad3f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"awww": "awww",
|
||||
"home-manager": "home-manager",
|
||||
"niri": "niri",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nur": "nur",
|
||||
"stylix": "stylix",
|
||||
"tachikoma": "tachikoma"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"awww",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764038373,
|
||||
"narHash": "sha256-M6w2wNBRelcavoDAyFL2iO4NeWknD40ASkH1S3C0YGM=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "ab3536fe850211a96673c6ffb2cb88aab8071cc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
"inputs": {
|
||||
"base16": "base16",
|
||||
"base16-fish": "base16-fish",
|
||||
"base16-helix": "base16-helix",
|
||||
"base16-vim": "base16-vim",
|
||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nur": "nur_2",
|
||||
"systems": "systems",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
"tinted-tmux": "tinted-tmux",
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779835981,
|
||||
"narHash": "sha256-3VQklog/kSD9dw6uj6ElSfq3qwEHQWHCThR/cGcJ5Dc=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "d7ba76c960a84333a7a1fc62ccf84a266086903a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_2": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tachikoma": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1781884897,
|
||||
"narHash": "sha256-2J3z0t6X5dd6mjBDeYxiSRB1JB0nQX+ftiJtcM5SfDI=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "3a5c68b63e91cdbabce2180ddecacf8f9f566538",
|
||||
"revCount": 189,
|
||||
"type": "git",
|
||||
"url": "https://forge.room409.xyz/miloignis/tachikoma.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://forge.room409.xyz/miloignis/tachikoma.git"
|
||||
}
|
||||
},
|
||||
"tinted-kitty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1735730497,
|
||||
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-kitty",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1777806186,
|
||||
"narHash": "sha256-PDF0/wObw4nIsSBeXVYLsloXOiphXCgIdsrNcVXguKs=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "0c94645546f4f3ddac77a1a5fce54eb95bf50795",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1778379944,
|
||||
"narHash": "sha256-wPDFzMGSlARlw0Sfsn48Q2+jPSfk6N0Ng6BC/d+7Q24=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "fe0203a198690e71a5ff11e08812a4673de3678d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1778378178,
|
||||
"narHash": "sha256-OXPXRIQgGwV77HjYRryOHguh4ALX96jkg+tseLkGgHA=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "9cd816033ff969415b190722cddf134e78a5665f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1755491097,
|
||||
"narHash": "sha256-m+9tUfsmBeF2Gn4HWa6vSITZ4Gz1eA1F5Kh62B0N4oE=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "388d291e82ffbc73be18169d39470f340707edaa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Supreeeme",
|
||||
"ref": "v0.7",
|
||||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1779745227,
|
||||
"narHash": "sha256-yqY7RtEJGJiENzR0GwL6q69tSAy6xAAmAcLuIhLjPf8=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "5d1efbc9dc3ab1c10160b656e0247f3325daf0f2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1697662575,
|
||||
"narHash": "sha256-fVtd4Le9edB831xyGWu0aqSfg6YVbkCNMX/IE3SUIdk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "3433206e51766b4164dad368a81325efbf343fbe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1697456312,
|
||||
"narHash": "sha256-roiSnrqb5r+ehnKCauPLugoU8S36KgmWraHgRqVYndo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ca012a02bf8327be9e488546faecae5e05d7d749",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
|
After Width: | Height: | Size: 125 KiB |
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756261190,
|
||||
"narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "77f348da3176dc68b20a73dab94852a417daf361",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri": {
|
||||
"inputs": {
|
||||
"niri-stable": "niri-stable",
|
||||
"niri-unstable": "niri-unstable",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"xwayland-satellite-stable": "xwayland-satellite-stable",
|
||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756284022,
|
||||
"narHash": "sha256-5q5rKE9Cbt1qDXtqgRr9FSeJrhS6apGatP3s9Oyejh8=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "a98afc5eb87093eec2f70c2e53e5faf919875025",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1748151941,
|
||||
"narHash": "sha256-z4viQZLgC2bIJ3VrzQnR+q2F3gAOEQpU1H5xHtX/2fs=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "8ba57fcf25d2fc9565131684a839d58703f1dae7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YaLTeR",
|
||||
"ref": "v25.05.1",
|
||||
"repo": "niri",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1756275478,
|
||||
"narHash": "sha256-BvPxbh+37rb5SHS5zFF6lis63B8BTuKDGRqMjbb9qBU=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1756125398,
|
||||
"narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1756217674,
|
||||
"narHash": "sha256-TH1SfSP523QI7kcPiNtMAEuwZR3Jdz0MCDXPs7TS8uo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4e7667a90c167f7a81d906e5a75cba4ad8bee620",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"niri": "niri",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-stable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1755491097,
|
||||
"narHash": "sha256-m+9tUfsmBeF2Gn4HWa6vSITZ4Gz1eA1F5Kh62B0N4oE=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "388d291e82ffbc73be18169d39470f340707edaa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Supreeeme",
|
||||
"ref": "v0.7",
|
||||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1756260173,
|
||||
"narHash": "sha256-wcf04fl5ncbOqAK7OCWIgILERIbMfL/eeM3UThqgErI=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "af33f7eb124b51ff6d9cdf9b428643e2246c8cbb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
description = "Home Manager configuration of nbraswell6";
|
||||
|
||||
inputs = {
|
||||
# Specify the source of Home Manager and Nixpkgs.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
niri = {
|
||||
url = "github:sodiboo/niri-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, niri, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
homeConfigurations."nbraswell6" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
((import ./home.nix) { username = "nbraswell6"; homeDirectory = "/home/nbraswell6"; backgroundImg = "/home/nbraswell6"; email = "nathan.braswell@gtri.gatech.edu"; })
|
||||
#niri.nixosModules.niri
|
||||
niri.homeModules.niri
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,806 @@
|
||||
{ username, homeDirectory, backgroundImg, email }: ({ config, pkgs, lib, ... }:{
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "22.11";
|
||||
home.username = username;
|
||||
home.homeDirectory = homeDirectory;
|
||||
|
||||
gtk.gtk4.theme = null;
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
fira-code jetbrains-mono iosevka monoid recursive inter
|
||||
xwayland-satellite
|
||||
awww
|
||||
niri
|
||||
];
|
||||
|
||||
systemd.user.services.mpris-proxy = {
|
||||
Unit.Description = "Mpris proxy";
|
||||
Unit.After = [ "network.target" "sound.target" ];
|
||||
Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
};
|
||||
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 18;
|
||||
modules-left = [ "memory" "disk" "network" ];
|
||||
modules-center = [ "clock" ];
|
||||
modules-right = [ "battery" "power-profiles-daemon" "backlight" "pulseaudio" ];
|
||||
reload_style_on_change = true;
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
/*
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Recursive;
|
||||
}
|
||||
*/
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
button {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
transition-property: none;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
#mode {
|
||||
background-color: #64829D;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
#memory, #disk, #network, #pulseaudio, #battery, #power-profiles-daemon, #backlight, #clock {
|
||||
padding: 0 10px;
|
||||
color: #f0f0ff;
|
||||
background-color: rgba(30,30,46,0.6);
|
||||
border-radius: 99px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
#window, #workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
}
|
||||
#battery {
|
||||
margin-left: 4px;
|
||||
}
|
||||
/*
|
||||
#pulseaudio {
|
||||
color: #000000;
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
*/
|
||||
'';
|
||||
};
|
||||
|
||||
programs.niri.settings = {
|
||||
prefer-no-csd = true;
|
||||
# TV at 1080 instead of 4k
|
||||
#outputs."DP-4".mode = {
|
||||
# width = 1920;
|
||||
# height = 1080;
|
||||
# refresh = 60.000;
|
||||
#};
|
||||
## LG Ultrawide
|
||||
#outputs."DP-4".mode = {
|
||||
# width = 1920;
|
||||
# height = 1080;
|
||||
# refresh = 60.000;
|
||||
#};
|
||||
input.keyboard.xkb = {
|
||||
options = "ctrl:nocaps";
|
||||
};
|
||||
environment = {
|
||||
DISPLAY = ":0"; # xwayland-satellite
|
||||
};
|
||||
spawn-at-startup = [
|
||||
{ command = [ "awww-daemon" ]; }
|
||||
{ command = [ "awww" "img" "${backgroundImg}" ]; }
|
||||
{ command = [ "waybar" ]; }
|
||||
{ command = [ "xwayland-satellite" ]; }
|
||||
];
|
||||
window-rules = [
|
||||
{
|
||||
draw-border-with-background = false;
|
||||
geometry-corner-radius = let r = 2.0; in {
|
||||
top-left = r;
|
||||
top-right = r;
|
||||
bottom-left = r;
|
||||
bottom-right = r;
|
||||
};
|
||||
clip-to-geometry = true;
|
||||
#opacity = 0.95;
|
||||
}
|
||||
{
|
||||
matches = [{is-focused = false;}];
|
||||
#opacity = 0.85;
|
||||
#opacity = 0.95;
|
||||
}
|
||||
];
|
||||
layout = {
|
||||
gaps = 4;
|
||||
#gaps = 4;
|
||||
#gaps = 8;
|
||||
#gaps = 16;
|
||||
center-focused-column = "never";
|
||||
preset-column-widths = [
|
||||
{ proportion = 1.0 / 3.0; }
|
||||
{ proportion = 1.0 / 2.0; }
|
||||
{ proportion = 2.0 / 3.0; }
|
||||
];
|
||||
#If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||
#preset-window-heights = {};
|
||||
default-column-width = { proportion = 1.0 / 2.0; };
|
||||
#focus-ring = {
|
||||
# enable = false;
|
||||
# width = 8;
|
||||
# # Color of the ring on the active monitor.
|
||||
# active.color = "#7fc8ff";
|
||||
# # Color of the ring on inactive monitors.
|
||||
# inactive.color = "#505050";
|
||||
#};
|
||||
border.width = 2;
|
||||
#border = {
|
||||
# enable = true;
|
||||
# width = 4;
|
||||
# active = {
|
||||
# gradient = {
|
||||
# angle = 130;
|
||||
# relative-to = "workspace-view";
|
||||
# from = "#90F090";
|
||||
# to = "#909090";
|
||||
# };
|
||||
# };
|
||||
# inactive = {
|
||||
# gradient = {
|
||||
# angle = 130;
|
||||
# relative-to = "workspace-view";
|
||||
# from = "#409040";
|
||||
# to = "#404040";
|
||||
# };
|
||||
# };
|
||||
#};
|
||||
#struts = {
|
||||
#left = 64;
|
||||
#right = 64;
|
||||
#top = 64;
|
||||
#bottom = 64;
|
||||
#};
|
||||
};
|
||||
binds = with config.lib.niri.actions; {
|
||||
#"Super+P".action = spawn "bemenu-run";
|
||||
"Super+P".action = spawn "fuzzel";
|
||||
"Super+Return".action = spawn "wezterm";
|
||||
"Super+Shift+Return".action = spawn "foot";
|
||||
"Super+Shift+Slash".action = show-hotkey-overlay;
|
||||
|
||||
"Super+Shift+C".action = close-window;
|
||||
|
||||
"Super+Left" .action = focus-column-left;
|
||||
"Super+Down" .action = focus-window-down;
|
||||
"Super+Up" .action = focus-window-up;
|
||||
"Super+Right" .action = focus-column-right;
|
||||
"Super+H" .action = focus-column-left;
|
||||
#"Super+J" .action = focus-window-down;
|
||||
#"Super+K" .action = focus-window-up;
|
||||
"Super+L" .action = focus-column-right;
|
||||
|
||||
"Super+Shift+Left" .action = move-column-left;
|
||||
"Super+Shift+Down" .action = move-window-down;
|
||||
"Super+Shift+Up" .action = move-window-up;
|
||||
"Super+Shift+Right" .action = move-column-right;
|
||||
"Super+Shift+H" .action = move-column-left;
|
||||
#"Super+Shift+J" .action = move-window-down;
|
||||
#"Super+Shift+K" .action = move-window-up;
|
||||
"Super+Shift+L" .action = move-column-right;
|
||||
|
||||
# Nice alts
|
||||
"Super+J" .action = focus-window-or-workspace-down;
|
||||
"Super+K" .action = focus-window-or-workspace-up;
|
||||
"Super+Shift+J".action = move-window-down-or-to-workspace-down;
|
||||
"Super+Shift+K".action = move-window-up-or-to-workspace-up;
|
||||
|
||||
|
||||
"Super+Ctrl+Left" .action = focus-monitor-left;
|
||||
"Super+Ctrl+Down" .action = focus-monitor-down;
|
||||
"Super+Ctrl+Up" .action = focus-monitor-up;
|
||||
"Super+Ctrl+Right".action = focus-monitor-right;
|
||||
"Super+Ctrl+H" .action = focus-monitor-left;
|
||||
"Super+Ctrl+J" .action = focus-monitor-down;
|
||||
"Super+Ctrl+K" .action = focus-monitor-up;
|
||||
"Super+Ctrl+L" .action = focus-monitor-right;
|
||||
|
||||
"Super+Shift+Ctrl+Left" .action = move-column-to-monitor-left;
|
||||
"Super+Shift+Ctrl+Down" .action = move-column-to-monitor-down;
|
||||
"Super+Shift+Ctrl+Up" .action = move-column-to-monitor-up;
|
||||
"Super+Shift+Ctrl+Right" .action = move-column-to-monitor-right;
|
||||
"Super+Shift+Ctrl+H" .action = move-column-to-monitor-left;
|
||||
"Super+Shift+Ctrl+J" .action = move-column-to-monitor-down;
|
||||
"Super+Shift+Ctrl+K" .action = move-column-to-monitor-up;
|
||||
"Super+Shift+Ctrl+L" .action = move-column-to-monitor-right;
|
||||
|
||||
|
||||
#...
|
||||
"Super+1".action = focus-workspace 1;
|
||||
"Super+2".action = focus-workspace 2;
|
||||
"Super+3".action = focus-workspace 3;
|
||||
"Super+4".action = focus-workspace 4;
|
||||
"Super+5".action = focus-workspace 5;
|
||||
"Super+6".action = focus-workspace 6;
|
||||
"Super+7".action = focus-workspace 7;
|
||||
"Super+8".action = focus-workspace 8;
|
||||
"Super+9".action = focus-workspace 9;
|
||||
#"Super+Shift+1".action = move-column-to-workspace 1;
|
||||
#"Super+Shift+2".action = move-column-to-workspace 2;
|
||||
#"Super+Shift+3".action = move-column-to-workspace 3;
|
||||
#"Super+Shift+4".action = move-column-to-workspace 4;
|
||||
#"Super+Shift+5".action = move-column-to-workspace 5;
|
||||
#"Super+Shift+6".action = move-column-to-workspace 6;
|
||||
#"Super+Shift+7".action = move-column-to-workspace 7;
|
||||
#"Super+Shift+8".action = move-column-to-workspace 8;
|
||||
#"Super+Shift+9".action = move-column-to-workspace 9;
|
||||
|
||||
#Consume one window from the right into the focused column.
|
||||
"Super+Comma" .action = consume-window-into-column;
|
||||
#Expel one window from the focused column to the right.
|
||||
"Super+Period" .action = expel-window-from-column;
|
||||
|
||||
#There are also commands that consume or expel a single window to the side.
|
||||
"Super+BracketLeft" .action = consume-or-expel-window-left;
|
||||
"Super+BracketRight" .action = consume-or-expel-window-right;
|
||||
|
||||
"Super+R".action = switch-preset-column-width;
|
||||
"Super+Shift+R".action = switch-preset-window-height;
|
||||
"Super+Ctrl+R".action = reset-window-height;
|
||||
"Super+F".action = maximize-column;
|
||||
"Super+Shift+F".action = fullscreen-window;
|
||||
"Super+Shift+G".action = toggle-window-floating;
|
||||
"Super+Shift+T".action = switch-focus-between-floating-and-tiling;
|
||||
"Super+C".action = center-column;
|
||||
|
||||
"Super+Minus".action = set-column-width "-10%";
|
||||
"Super+Equal".action = set-column-width "+10%";
|
||||
|
||||
"Super+Shift+Minus".action = set-window-height "-10%";
|
||||
"Super+Shift+Equal".action = set-window-height "+10%";
|
||||
|
||||
"Super+S".action.screenshot.show-pointer = false;
|
||||
#"Print".action = screenshot;
|
||||
#"Ctrl+Print".aciton = screenshot-screen;
|
||||
#"Super+Print".action = screenshot-window;
|
||||
|
||||
"Super+Shift+E".action = quit;
|
||||
"Ctrl+Super+Delete".action = quit;
|
||||
|
||||
"Super+Shift+P".action = power-off-monitors;
|
||||
};
|
||||
};
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = let
|
||||
shared = {
|
||||
search = {
|
||||
force = true;
|
||||
default = "Kagi";
|
||||
engines = {
|
||||
"Kagi" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://kagi.com/search?q={searchTerms}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
extensions.autoDisableScopes = 0;
|
||||
};
|
||||
extensions = {
|
||||
force = true;
|
||||
packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
vimium
|
||||
darkreader
|
||||
#bitwarden
|
||||
ublock-origin
|
||||
];
|
||||
};
|
||||
};
|
||||
in {
|
||||
default = shared // {
|
||||
isDefault = true;
|
||||
id = 0;
|
||||
};
|
||||
st = shared // {
|
||||
isDefault = false;
|
||||
id = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
stylix.targets.firefox = {
|
||||
colorTheme.enable = true;
|
||||
profileNames = [ "default" "st" ];
|
||||
};
|
||||
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
config.hide_tab_bar_if_only_one_tab = true;
|
||||
config.line_height = 0.98; -- matching ghostty
|
||||
config.window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
};
|
||||
'';
|
||||
};
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window-decoration = false;
|
||||
minimum-contrast = 1.5;
|
||||
};
|
||||
};
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
#dpi-aware = "yes";
|
||||
};
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
format = lib.concatStrings [
|
||||
"$username"
|
||||
"$hostname"
|
||||
"$directory"
|
||||
"$jobs"
|
||||
"$cmd_duration"
|
||||
"$character"
|
||||
];
|
||||
directory = {
|
||||
truncation_length = 10;
|
||||
truncate_to_repo = false;
|
||||
};
|
||||
scan_timeout = 10;
|
||||
character = {
|
||||
success_symbol = "➜";
|
||||
error_symbol = "➜";
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
};
|
||||
profileExtra = ''
|
||||
if [ -e /home/nathan/.nix-profile/etc/profile.d/nix.sh ]; then . /home/nathan/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||
. "$HOME/.cargo/env"
|
||||
export PATH="/run/system-manager/sw/bin/:/home/nbraswell6/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
||||
'';
|
||||
shellAliases = {
|
||||
ng ="nmcli c up NETGEAR97";
|
||||
ng24="nmcli c up NETGEAR97_24_2Ghz";
|
||||
ng58="nmcli c up NETGEAR97_28_5Ghz";
|
||||
ng5c="nmcli c up NETGEAR97_2C_5Ghz";
|
||||
};
|
||||
};
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
signing.format = null;
|
||||
settings.user = {
|
||||
name = "Nathan Braswell";
|
||||
email = email;
|
||||
};
|
||||
};
|
||||
programs.jujutsu = {
|
||||
enable = true;
|
||||
settings.user = {
|
||||
name = "Nathan Braswell";
|
||||
email = email;
|
||||
};
|
||||
};
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
keys.insert.k.j = "normal_mode";
|
||||
};
|
||||
};
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
nerdcommenter vim-polyglot #parinfer-rust
|
||||
];
|
||||
settings = {
|
||||
# Is the need for these obliviated by vim-polyglot using sleuth?
|
||||
#expandtab = false;
|
||||
tabstop = 4;
|
||||
shiftwidth = 4;
|
||||
};
|
||||
extraConfig = ''
|
||||
set number
|
||||
set hlsearch
|
||||
nnoremap <leader>m :bn<CR>
|
||||
nnoremap <leader>t :tabnew<CR>
|
||||
nnoremap <leader>. :tabn<CR>
|
||||
nnoremap <leader>, :tabp<CR>
|
||||
nnoremap <leader>v :vsplit<CR>
|
||||
nnoremap <leader>h :split<CR>
|
||||
nnoremap <leader>q :q<CR>
|
||||
inoremap jk <Esc>
|
||||
inoremap kj <Esc>
|
||||
|
||||
" Thanks to https://unix.stackexchange.com/questions/140898/vim-hide-status-line-in-the-bottom
|
||||
let s:hidden_all = 0
|
||||
function! ToggleHiddenAll()
|
||||
if s:hidden_all == 0
|
||||
let s:hidden_all = 1
|
||||
set noshowmode
|
||||
set noruler
|
||||
set laststatus=0
|
||||
set noshowcmd
|
||||
else
|
||||
let s:hidden_all = 0
|
||||
set showmode
|
||||
set ruler
|
||||
set laststatus=2
|
||||
set showcmd
|
||||
endif
|
||||
endfunction
|
||||
|
||||
nnoremap <S-h> :call ToggleHiddenAll()<CR>
|
||||
'';
|
||||
};
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
settings = {
|
||||
pane_frames = false;
|
||||
# default_layout = "compact";
|
||||
default_mode = "locked";
|
||||
};
|
||||
extraConfig = ''
|
||||
keybinds clear-defaults=true {
|
||||
normal {
|
||||
}
|
||||
locked {
|
||||
bind "Ctrl g" { SwitchToMode "Normal"; }
|
||||
}
|
||||
resize {
|
||||
bind "r" { SwitchToMode "Normal"; }
|
||||
bind "h" "Left" { Resize "Increase Left"; }
|
||||
bind "j" "Down" { Resize "Increase Down"; }
|
||||
bind "k" "Up" { Resize "Increase Up"; }
|
||||
bind "l" "Right" { Resize "Increase Right"; }
|
||||
bind "H" { Resize "Decrease Left"; }
|
||||
bind "J" { Resize "Decrease Down"; }
|
||||
bind "K" { Resize "Decrease Up"; }
|
||||
bind "L" { Resize "Decrease Right"; }
|
||||
bind "=" "+" { Resize "Increase"; }
|
||||
bind "-" { Resize "Decrease"; }
|
||||
}
|
||||
pane {
|
||||
bind "p" { SwitchToMode "Normal"; }
|
||||
bind "h" "Left" { MoveFocus "Left"; }
|
||||
bind "l" "Right" { MoveFocus "Right"; }
|
||||
bind "j" "Down" { MoveFocus "Down"; }
|
||||
bind "k" "Up" { MoveFocus "Up"; }
|
||||
bind "Tab" { SwitchFocus; }
|
||||
bind "n" { NewPane; SwitchToMode "Locked"; }
|
||||
bind "d" { NewPane "Down"; SwitchToMode "Locked"; }
|
||||
bind "r" { NewPane "Right"; SwitchToMode "Locked"; }
|
||||
bind "s" { NewPane "stacked"; SwitchToMode "Locked"; }
|
||||
bind "x" { CloseFocus; SwitchToMode "Locked"; }
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "Locked"; }
|
||||
bind "z" { TogglePaneFrames; SwitchToMode "Locked"; }
|
||||
bind "w" { ToggleFloatingPanes; SwitchToMode "Locked"; }
|
||||
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Locked"; }
|
||||
bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
||||
bind "i" { TogglePanePinned; SwitchToMode "Locked"; }
|
||||
}
|
||||
move {
|
||||
bind "m" { SwitchToMode "Normal"; }
|
||||
bind "n" "Tab" { MovePane; }
|
||||
bind "p" { MovePaneBackwards; }
|
||||
bind "h" "Left" { MovePane "Left"; }
|
||||
bind "j" "Down" { MovePane "Down"; }
|
||||
bind "k" "Up" { MovePane "Up"; }
|
||||
bind "l" "Right" { MovePane "Right"; }
|
||||
}
|
||||
tab {
|
||||
bind "t" { SwitchToMode "Normal"; }
|
||||
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
|
||||
bind "h" "Left" "Up" "k" { GoToPreviousTab; }
|
||||
bind "l" "Right" "Down" "j" { GoToNextTab; }
|
||||
bind "n" { NewTab; SwitchToMode "Locked"; }
|
||||
bind "x" { CloseTab; SwitchToMode "Locked"; }
|
||||
bind "s" { ToggleActiveSyncTab; SwitchToMode "Locked"; }
|
||||
bind "b" { BreakPane; SwitchToMode "Locked"; }
|
||||
bind "]" { BreakPaneRight; SwitchToMode "Locked"; }
|
||||
bind "[" { BreakPaneLeft; SwitchToMode "Locked"; }
|
||||
bind "1" { GoToTab 1; SwitchToMode "Locked"; }
|
||||
bind "2" { GoToTab 2; SwitchToMode "Locked"; }
|
||||
bind "3" { GoToTab 3; SwitchToMode "Locked"; }
|
||||
bind "4" { GoToTab 4; SwitchToMode "Locked"; }
|
||||
bind "5" { GoToTab 5; SwitchToMode "Locked"; }
|
||||
bind "6" { GoToTab 6; SwitchToMode "Locked"; }
|
||||
bind "7" { GoToTab 7; SwitchToMode "Locked"; }
|
||||
bind "8" { GoToTab 8; SwitchToMode "Locked"; }
|
||||
bind "9" { GoToTab 9; SwitchToMode "Locked"; }
|
||||
bind "Tab" { ToggleTab; }
|
||||
}
|
||||
scroll {
|
||||
bind "s" { SwitchToMode "Normal"; }
|
||||
bind "e" { EditScrollback; SwitchToMode "Locked"; }
|
||||
bind "f" { SwitchToMode "EnterSearch"; SearchInput 0; }
|
||||
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Locked"; }
|
||||
bind "j" "Down" { ScrollDown; }
|
||||
bind "k" "Up" { ScrollUp; }
|
||||
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
||||
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
||||
bind "d" { HalfPageScrollDown; }
|
||||
bind "u" { HalfPageScrollUp; }
|
||||
bind "Alt left" { MoveFocusOrTab "left"; SwitchToMode "locked"; }
|
||||
bind "Alt down" { MoveFocus "down"; SwitchToMode "locked"; }
|
||||
bind "Alt up" { MoveFocus "up"; SwitchToMode "locked"; }
|
||||
bind "Alt right" { MoveFocusOrTab "right"; SwitchToMode "locked"; }
|
||||
bind "Alt h" { MoveFocusOrTab "left"; SwitchToMode "locked"; }
|
||||
bind "Alt j" { MoveFocus "down"; SwitchToMode "locked"; }
|
||||
bind "Alt k" { MoveFocus "up"; SwitchToMode "locked"; }
|
||||
bind "Alt l" { MoveFocusOrTab "right"; SwitchToMode "locked"; }
|
||||
}
|
||||
search {
|
||||
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Locked"; }
|
||||
bind "j" "Down" { ScrollDown; }
|
||||
bind "k" "Up" { ScrollUp; }
|
||||
bind "Ctrl f" "PageDown" "Right" "l" { PageScrollDown; }
|
||||
bind "Ctrl b" "PageUp" "Left" "h" { PageScrollUp; }
|
||||
bind "d" { HalfPageScrollDown; }
|
||||
bind "u" { HalfPageScrollUp; }
|
||||
bind "n" { Search "down"; }
|
||||
bind "p" { Search "up"; }
|
||||
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||
bind "w" { SearchToggleOption "Wrap"; }
|
||||
bind "o" { SearchToggleOption "WholeWord"; }
|
||||
}
|
||||
entersearch {
|
||||
bind "Ctrl c" "Esc" { SwitchToMode "Scroll"; }
|
||||
bind "Enter" { SwitchToMode "Search"; }
|
||||
}
|
||||
renametab {
|
||||
bind "Ctrl c" "Enter" { SwitchToMode "Locked"; }
|
||||
bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
|
||||
}
|
||||
renamepane {
|
||||
bind "Ctrl c" "Enter" { SwitchToMode "Locked"; }
|
||||
bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
|
||||
}
|
||||
session {
|
||||
bind "o" { SwitchToMode "Normal"; }
|
||||
bind "d" { Detach; }
|
||||
bind "w" {
|
||||
LaunchOrFocusPlugin "session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
bind "c" {
|
||||
LaunchOrFocusPlugin "configuration" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
bind "p" {
|
||||
LaunchOrFocusPlugin "plugin-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
bind "a" {
|
||||
LaunchOrFocusPlugin "zellij:about" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
bind "s" {
|
||||
LaunchOrFocusPlugin "zellij:share" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
bind "l" {
|
||||
LaunchOrFocusPlugin "zellij:layout-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Locked"
|
||||
}
|
||||
}
|
||||
shared_except "locked" "renametab" "renamepane" {
|
||||
bind "Ctrl g" { SwitchToMode "Locked"; }
|
||||
bind "Ctrl q" { Quit; }
|
||||
}
|
||||
shared_except "renamepane" "renametab" "entersearch" "locked" {
|
||||
bind "esc" { SwitchToMode "locked"; }
|
||||
}
|
||||
shared_among "normal" "locked" {
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Alt f" { ToggleFloatingPanes; }
|
||||
bind "Alt i" { MoveTab "Left"; }
|
||||
bind "Alt o" { MoveTab "Right"; }
|
||||
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
|
||||
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
|
||||
bind "Alt j" "Alt Down" { MoveFocus "Down"; }
|
||||
bind "Alt k" "Alt Up" { MoveFocus "Up"; }
|
||||
bind "Alt =" "Alt +" { Resize "Increase"; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt [" { PreviousSwapLayout; }
|
||||
bind "Alt ]" { NextSwapLayout; }
|
||||
bind "Alt p" { TogglePaneInGroup; }
|
||||
bind "Alt Shift p" { ToggleGroupMarking; }
|
||||
}
|
||||
shared_except "locked" "renametab" "renamepane" {
|
||||
bind "Enter" { SwitchToMode "Locked"; }
|
||||
}
|
||||
shared_except "pane" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "p" { SwitchToMode "Pane"; }
|
||||
}
|
||||
shared_except "resize" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "r" { SwitchToMode "Resize"; }
|
||||
}
|
||||
shared_except "scroll" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "s" { SwitchToMode "Scroll"; }
|
||||
}
|
||||
shared_except "session" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "o" { SwitchToMode "Session"; }
|
||||
}
|
||||
shared_except "tab" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "t" { SwitchToMode "Tab"; }
|
||||
}
|
||||
shared_except "move" "locked" "renametab" "renamepane" "entersearch" {
|
||||
bind "m" { SwitchToMode "Move"; }
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
#$Id: vim-keys.conf,v 1.2 2010-09-18 09:36:15 nicm Exp $
|
||||
#
|
||||
# vim-keys.conf, v1.2 2010/09/12
|
||||
#
|
||||
# By Daniel Thau. Public domain.
|
||||
#
|
||||
# This configuration file binds many vi- and vim-like bindings to the
|
||||
# appropriate tmux key bindings. Note that for many key bindings there is no
|
||||
# tmux analogue. This is intended for tmux 1.3, which handles pane selection
|
||||
# differently from the previous versions
|
||||
|
||||
# split windows like vim
|
||||
# vim's definition of a horizontal/vertical split is reversed from tmux's
|
||||
bind s split-window -v
|
||||
bind v split-window -h
|
||||
|
||||
# move around panes with hjkl, as one would in vim after pressing ctrl-w
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# resize panes like vim
|
||||
# feel free to change the "1" to however many lines you want to resize by, only
|
||||
# one at a time can be slow
|
||||
bind < resize-pane -L 1
|
||||
bind > resize-pane -R 1
|
||||
bind - resize-pane -D 1
|
||||
bind + resize-pane -U 1
|
||||
|
||||
# bind : to command-prompt like vim
|
||||
# this is the default in tmux already
|
||||
bind : command-prompt
|
||||
|
||||
# vi-style controls for copy mode
|
||||
setw -g mode-keys vi
|
||||
'';
|
||||
};
|
||||
programs.emacs = {
|
||||
package = pkgs.emacs-pgtk;
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
|
||||
;; Use spaces, not tabs, for indentation.
|
||||
(setq-default indent-tabs-mode nil)
|
||||
;; Highlight matching pairs of parentheses.
|
||||
(setq show-paren-delay 0)
|
||||
(show-paren-mode)
|
||||
|
||||
(setq evil-want-C-u-scroll t)
|
||||
(setq evil-want-keybinding nil)
|
||||
(evil-mode 1)
|
||||
(evil-set-undo-system 'undo-redo)
|
||||
(setq key-chord-two-keys-delay 0.5)
|
||||
(key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
|
||||
(evil-collection-init)
|
||||
(key-chord-mode 1)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||
;(load-theme 'dracula t)
|
||||
'';
|
||||
#extraPackages = epkgs: with epkgs; [
|
||||
# evil key-chord magit proof-general
|
||||
# ement nov evil-collection
|
||||
# rainbow-delimiters
|
||||
# dracula-theme
|
||||
#];
|
||||
};
|
||||
#services.pantalaimon = {
|
||||
#package = pkgs.pantalaimon.overridePythonAttrs { doCheck = false; };
|
||||
#enable = true;
|
||||
#settings = {
|
||||
#Default = {
|
||||
#LogLevel = "Debug";
|
||||
#SSL = true;
|
||||
#};
|
||||
#local-matrix = {
|
||||
#Homeserver = "https://synapse.room409.xyz";
|
||||
#ListenAddress = "127.0.0.1";
|
||||
#ListenPort = "8009";
|
||||
#};
|
||||
#};
|
||||
#};
|
||||
#programs.iamb = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# settings = {
|
||||
# image_preview = {};
|
||||
# username_display = "displayname";
|
||||
# sort = {
|
||||
# rooms = ["recent"];
|
||||
# };
|
||||
# };
|
||||
# profiles.miloignis = {
|
||||
# user_id = "@miloignis:synapse.room409.xyz";
|
||||
# };
|
||||
# };
|
||||
#};
|
||||
})
|
||||
@@ -0,0 +1,427 @@
|
||||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
* Copyright (c) 2025 Innaworks Development Limited, trading as MoErgo
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
|
||||
/* THIS FILE WAS GENERATED BY GO60 LAYOUT EDITOR
|
||||
*
|
||||
* This file was generated automatically. You may or may not want to
|
||||
* edit it directly.
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
|
||||
/* Include all behavior includes needed */
|
||||
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/rgb.h>
|
||||
|
||||
#include <input/processors.dtsi>
|
||||
#include <dt-bindings/zmk/input_transform.h>
|
||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
|
||||
/* On demand includes */
|
||||
#include <dt-bindings/zmk/input_transform.h>
|
||||
#include <dt-bindings/zmk/pointing.h>
|
||||
#include <input/processors.dtsi>
|
||||
|
||||
/* Helper Macros, based on https://github.com/urob/zmk-helpers/ */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ZMK_HELPER_STRINGIFY(x) #x
|
||||
|
||||
// Preprocessor mechanism to overload macros, cf. https://stackoverflow.com/a/27051616/6114651
|
||||
#define VARGS_(_10, _9, _8, _7, _6, _5, _4, _3, _2, _1, N, ...) N
|
||||
#define VARGS(...) VARGS_(__VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0)
|
||||
#define CONCAT_(a, b) a##b
|
||||
#define CONCAT(a, b) CONCAT_(a, b)
|
||||
|
||||
#define ZMK_BEHAVIOR_CORE_tap_dance \
|
||||
compatible = "zmk,behavior-tap-dance"; \
|
||||
#binding-cells = <0>
|
||||
|
||||
#define ZMK_BEHAVIOR(name, type, ...) \
|
||||
name: name { \
|
||||
ZMK_BEHAVIOR_CORE_ ## type; \
|
||||
__VA_ARGS__ \
|
||||
};
|
||||
|
||||
#define ZMK_TAP_DANCE(name, ...) \
|
||||
ZMK_BEHAVIOR(name, tap_dance, __VA_ARGS__)
|
||||
|
||||
#define ZMK_TD_LAYER(name, layer) \
|
||||
ZMK_TAP_DANCE(name, \
|
||||
tapping-term-ms = <200>; \
|
||||
bindings = <&mo layer>, <&to layer>; \
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Key positions */
|
||||
|
||||
#define POS_LH_C6R1 0
|
||||
#define POS_LH_C5R1 1
|
||||
#define POS_LH_C4R1 2
|
||||
#define POS_LH_C3R1 3
|
||||
#define POS_LH_C2R1 4
|
||||
#define POS_LH_C1R1 5
|
||||
#define POS_RH_C1R1 6
|
||||
#define POS_RH_C2R1 7
|
||||
#define POS_RH_C3R1 8
|
||||
#define POS_RH_C4R1 9
|
||||
#define POS_RH_C5R1 10
|
||||
#define POS_RH_C6R1 11
|
||||
#define POS_LH_C6R2 12
|
||||
#define POS_LH_C5R2 13
|
||||
#define POS_LH_C4R2 14
|
||||
#define POS_LH_C3R2 15
|
||||
#define POS_LH_C2R2 16
|
||||
#define POS_LH_C1R2 17
|
||||
#define POS_RH_C1R2 18
|
||||
#define POS_RH_C2R2 19
|
||||
#define POS_RH_C3R2 20
|
||||
#define POS_RH_C4R2 21
|
||||
#define POS_RH_C5R2 22
|
||||
#define POS_RH_C6R2 23
|
||||
#define POS_LH_C6R3 24
|
||||
#define POS_LH_C5R3 25
|
||||
#define POS_LH_C4R3 26
|
||||
#define POS_LH_C3R3 27
|
||||
#define POS_LH_C2R3 28
|
||||
#define POS_LH_C1R3 29
|
||||
#define POS_RH_C1R3 30
|
||||
#define POS_RH_C2R3 31
|
||||
#define POS_RH_C3R3 32
|
||||
#define POS_RH_C4R3 33
|
||||
#define POS_RH_C5R3 34
|
||||
#define POS_RH_C6R3 35
|
||||
#define POS_LH_C6R4 36
|
||||
#define POS_LH_C5R4 37
|
||||
#define POS_LH_C4R4 38
|
||||
#define POS_LH_C3R4 39
|
||||
#define POS_LH_C2R4 40
|
||||
#define POS_LH_C1R4 41
|
||||
#define POS_RH_C1R4 42
|
||||
#define POS_RH_C2R4 43
|
||||
#define POS_RH_C3R4 44
|
||||
#define POS_RH_C4R4 45
|
||||
#define POS_RH_C5R4 46
|
||||
#define POS_RH_C6R4 47
|
||||
#define POS_LH_C4R5 48
|
||||
#define POS_LH_C3R5 49
|
||||
#define POS_LH_C2R5 50
|
||||
#define POS_RH_C2R5 51
|
||||
#define POS_RH_C3R5 52
|
||||
#define POS_RH_C4R5 53
|
||||
#define POS_LH_T1 54
|
||||
#define POS_LH_T2 55
|
||||
#define POS_LH_T3 56
|
||||
#define POS_RH_T3 57
|
||||
#define POS_RH_T2 58
|
||||
#define POS_RH_T1 59
|
||||
|
||||
|
||||
#define LEFT_HAND_KEYS \
|
||||
POS_LH_C1R1 POS_LH_C2R1 POS_LH_C3R1 POS_LH_C4R1 POS_LH_C5R1 POS_LH_C6R1 \
|
||||
POS_LH_C1R2 POS_LH_C2R2 POS_LH_C3R2 POS_LH_C4R2 POS_LH_C5R2 POS_LH_C6R2 \
|
||||
POS_LH_C1R3 POS_LH_C2R3 POS_LH_C3R3 POS_LH_C4R3 POS_LH_C5R3 POS_LH_C6R3 \
|
||||
POS_LH_C1R4 POS_LH_C2R4 POS_LH_C3R4 POS_LH_C4R4 POS_LH_C5R4 POS_LH_C6R4 \
|
||||
POS_LH_C2R5 POS_LH_C3R5 POS_LH_C4R5
|
||||
|
||||
#define RIGHT_HAND_KEYS \
|
||||
POS_RH_C1R1 POS_RH_C2R1 POS_RH_C3R1 POS_RH_C4R1 POS_RH_C5R1 POS_RH_C6R1 \
|
||||
POS_RH_C1R2 POS_RH_C2R2 POS_RH_C3R2 POS_RH_C4R2 POS_RH_C5R2 POS_RH_C6R2 \
|
||||
POS_RH_C1R3 POS_RH_C2R3 POS_RH_C3R3 POS_RH_C4R3 POS_RH_C5R3 POS_RH_C6R3 \
|
||||
POS_RH_C1R4 POS_RH_C2R4 POS_RH_C3R4 POS_RH_C4R4 POS_RH_C5R4 POS_RH_C6R4 \
|
||||
POS_RH_C2R5 POS_RH_C3R5 POS_RH_C4R5
|
||||
|
||||
#define THUMB_KEYS \
|
||||
POS_LH_T1 POS_LH_T2 POS_LH_T3 \
|
||||
POS_RH_T1 POS_RH_T2 POS_RH_T3
|
||||
|
||||
/* Environment and metadata defines */
|
||||
#define KB_TYPE_GLOVE_80 1
|
||||
#define KB_TYPE_GO_60 2
|
||||
|
||||
#define KB_TYPE KB_TYPE_GO_60
|
||||
#define EDITOR_HOST_OS 'L'
|
||||
|
||||
/* Automatically generated layer name defines */
|
||||
#define LAYER_Base 0
|
||||
#define LAYER_Keypad 1
|
||||
#define LAYER_SymbolNav 2
|
||||
#define LAYER_Magic 3
|
||||
#define LAYER_Factory 4
|
||||
|
||||
/* To deal with the situation where there is no Lower layer, to keep &lower happy */
|
||||
#ifndef LAYER_Lower
|
||||
#define LAYER_Lower 0
|
||||
#endif
|
||||
|
||||
/* Generated input processors */
|
||||
/ {
|
||||
input_processors {
|
||||
zip_click_to_right_click_mapper: zip_click_to_right_click_mapper {
|
||||
compatible = "zmk,input-processor-code-mapper";
|
||||
#input-processor-cells = <0>;
|
||||
type = <INPUT_EV_KEY>;
|
||||
map = <INPUT_BTN_0 INPUT_BTN_1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Custom Device-tree */
|
||||
|
||||
|
||||
/* Input Listeners */
|
||||
&cirque_rh_listener {
|
||||
input-processors = <&zip_xy_scaler 3 1>;
|
||||
layer_SymbolNav {
|
||||
layers = <LAYER_SymbolNav>;
|
||||
input-processors = <&zip_xy_scaler 9 1>;
|
||||
};
|
||||
};
|
||||
|
||||
&cirque_lh_listener {
|
||||
input-processors = <&zip_xy_scaler 11 12>, <&zip_xy_transform INPUT_TRANSFORM_Y_INVERT>, <&zip_xy_to_scroll_mapper>, <&zip_click_to_right_click_mapper>;
|
||||
layer_Factory {
|
||||
layers = <LAYER_Factory>;
|
||||
input-processors = <&zip_xy_scaler 3 1>;
|
||||
};
|
||||
};
|
||||
|
||||
/* System behavior and macros */
|
||||
/ {
|
||||
behaviors {
|
||||
ZMK_TD_LAYER(lower, LAYER_Lower)
|
||||
};
|
||||
};
|
||||
|
||||
/ {
|
||||
macros {
|
||||
rgb_ug_status_macro: rgb_ug_status_macro {
|
||||
label = "RGB_UG_STATUS";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&rgb_ug RGB_STATUS>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/ {
|
||||
#ifdef BT_DISC_CMD
|
||||
behaviors {
|
||||
bt_0: bt_0 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_0";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_0>, <&bt BT_DISC 0>;
|
||||
};
|
||||
bt_1: bt_1 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_1";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_1>, <&bt BT_DISC 1>;
|
||||
};
|
||||
bt_2: bt_2 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_2";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_2>, <&bt BT_DISC 2>;
|
||||
};
|
||||
bt_3: bt_3 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_3";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_3>, <&bt BT_DISC 3>;
|
||||
};
|
||||
};
|
||||
macros {
|
||||
bt_select_0: bt_select_0 {
|
||||
label = "BT_SELECT_0";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 0>;
|
||||
};
|
||||
bt_select_1: bt_select_1 {
|
||||
label = "BT_SELECT_1";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 1>;
|
||||
};
|
||||
bt_select_2: bt_select_2 {
|
||||
label = "BT_SELECT_2";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 2>;
|
||||
};
|
||||
bt_select_3: bt_select_3 {
|
||||
label = "BT_SELECT_3";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 3>;
|
||||
};
|
||||
};
|
||||
#else
|
||||
macros {
|
||||
bt_0: bt_0 {
|
||||
label = "BT_0";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 0>;
|
||||
};
|
||||
bt_1: bt_1 {
|
||||
label = "BT_1";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 1>;
|
||||
};
|
||||
bt_2: bt_2 {
|
||||
label = "BT_2";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 2>;
|
||||
};
|
||||
bt_3: bt_3 {
|
||||
label = "BT_3";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 3>;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
};
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
magic: magic {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "MAGIC_HOLD_TAP";
|
||||
#binding-cells = <2>;
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&mo>, <&rgb_ug_status_macro>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* Custom Defined Behaviors */
|
||||
/ {
|
||||
|
||||
};
|
||||
|
||||
/* Automatically generated macro definitions */
|
||||
/ {
|
||||
macros {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/* Automatically generated behavior definitions */
|
||||
/ {
|
||||
behaviors {
|
||||
|
||||
// Layer tap dance behaviors
|
||||
|
||||
ZMK_TD_LAYER(td_LAYER_Keypad, 1)
|
||||
ZMK_TD_LAYER(td_LAYER_SymbolNav, 2)
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/* Automatically generated combos definitions */
|
||||
|
||||
|
||||
/* Automatically generated keymap */
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
|
||||
layer_Base {
|
||||
bindings = <
|
||||
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
|
||||
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&magic LAYER_Magic 0 &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &td_LAYER_Keypad
|
||||
&kp GRAVE &kp DEL &td_LAYER_SymbolNav &kp LGUI &kp LBKT &kp RBKT
|
||||
&kp BSPC &kp LSHFT &kp LCTRL &kp LALT &mt RALT RET &kp SPACE
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Keypad {
|
||||
bindings = <
|
||||
&none &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
|
||||
&trans &none &kp HOME &kp UP &kp END &kp PG_UP &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp KP_SLASH &kp F12
|
||||
&trans &kp LC(Y) &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp KP_MULTIPLY &kp KP_NUM
|
||||
&magic LAYER_Magic 0 &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(V) &kp LS(LC(V)) &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp EQUAL &to LAYER_Base
|
||||
&none &trans &trans &kp KP_N0 &kp KP_DOT &kp BSPC
|
||||
&mo LAYER_SymbolNav &trans &trans &trans &trans &kp KP_N0
|
||||
>;
|
||||
};
|
||||
|
||||
layer_SymbolNav {
|
||||
bindings = <
|
||||
&kp INS &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
|
||||
&kp SLCK &kp LS(N1) &kp HOME &kp UP &kp END &kp PG_UP &kp LS(N9) &kp LS(N0) &kp UP &kp LS(N5) &kp K_APP &kp F12
|
||||
&kp CAPS &kp LS(N2) &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &kp LS(N4) &kp LEFT &kp DOWN &kp RIGHT &kp PAUSE_BREAK &kp PSCRN
|
||||
&magic LAYER_Magic 0 &kp LS(N3) &kp LBKT &kp RBKT &kp LS(LBKT) &kp LS(RBKT) &kp LS(N7) &kp LS(N8) &kp LS(MINUS) &kp LS(EQUAL) &kp LSHFT &kp LCTRL
|
||||
&kp LS(N6) &trans &trans &trans &kp LC(LS(TAB)) &kp LC(TAB)
|
||||
&to 0 &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Magic {
|
||||
bindings = <
|
||||
&bt BT_CLR &kp C_BRI_DN &kp C_BRI_UP &kp C_PREV &kp C_NEXT &kp C_PP &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &none &none &bt BT_CLR_ALL
|
||||
&bootloader &rgb_ug RGB_SPI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_BRI &rgb_ug RGB_TOG &none &none &none &none &none &bootloader
|
||||
&sys_reset &rgb_ug RGB_SPD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_EFF &none &none &none &none &none &sys_reset
|
||||
&none &none &bt_0 &bt_1 &bt_2 &bt_3 &none &none &none &none &none &to LAYER_Factory
|
||||
&out OUT_USB &none &none &none &none &none
|
||||
&none &none &none &none &none &none
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Factory {
|
||||
bindings = <
|
||||
&kp N0 &kp N4 &kp N8 &kp N3 &kp N8 &kp N3 &kp N3 &kp N8 &kp N3 &kp N8 &kp N4 &kp N0
|
||||
&kp N1 &kp N5 &kp N9 &kp N4 &kp N9 &kp N4 &kp N4 &kp N9 &kp N4 &kp N9 &kp N5 &kp N1
|
||||
&kp N2 &kp N6 &kp N0 &kp N5 &kp N0 &kp N5 &kp N5 &kp N0 &kp N5 &kp N0 &kp N6 &kp N2
|
||||
&kp N3 &kp N7 &kp N1 &kp N6 &kp N1 &kp N6 &kp N6 &kp N1 &kp N6 &kp N1 &kp N7 &kp N3
|
||||
&kp N2 &kp N7 &kp N2 &kp N2 &kp N7 &kp N2
|
||||
&kp N7 &kp N8 &kp N9 &kp N9 &kp N8 &kp N7
|
||||
>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,379 @@
|
||||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
* Copyright (c) 2025 Innaworks Development Limited, trading as MoErgo
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
|
||||
/* THIS FILE WAS GENERATED BY GLOVE80 LAYOUT EDITOR
|
||||
*
|
||||
* This file was generated automatically. You may or may not want to
|
||||
* edit it directly.
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
/* Include all behavior includes needed */
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/rgb.h>
|
||||
|
||||
/* On demand includes */
|
||||
|
||||
|
||||
/* Helper Macros, based on https://github.com/urob/zmk-helpers/ */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ZMK_HELPER_STRINGIFY(x) #x
|
||||
|
||||
// Preprocessor mechanism to overload macros, cf. https://stackoverflow.com/a/27051616/6114651
|
||||
#define VARGS_(_10, _9, _8, _7, _6, _5, _4, _3, _2, _1, N, ...) N
|
||||
#define VARGS(...) VARGS_(__VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0)
|
||||
#define CONCAT_(a, b) a##b
|
||||
#define CONCAT(a, b) CONCAT_(a, b)
|
||||
|
||||
#define ZMK_BEHAVIOR_CORE_tap_dance \
|
||||
compatible = "zmk,behavior-tap-dance"; \
|
||||
#binding-cells = <0>
|
||||
|
||||
#define ZMK_BEHAVIOR(name, type, ...) \
|
||||
name: name { \
|
||||
ZMK_BEHAVIOR_CORE_ ## type; \
|
||||
__VA_ARGS__ \
|
||||
};
|
||||
|
||||
#define ZMK_TAP_DANCE(name, ...) \
|
||||
ZMK_BEHAVIOR(name, tap_dance, __VA_ARGS__)
|
||||
|
||||
#define ZMK_TD_LAYER(name, layer) \
|
||||
ZMK_TAP_DANCE(name, \
|
||||
tapping-term-ms = <200>; \
|
||||
bindings = <&mo layer>, <&to layer>; \
|
||||
)
|
||||
|
||||
/* Environment and metadata defines */
|
||||
#define KB_TYPE_GLOVE_80 1
|
||||
#define KB_TYPE_GO_60 2
|
||||
|
||||
#define KB_TYPE KB_TYPE_GLOVE_80
|
||||
#define EDITOR_HOST_OS 'L'
|
||||
|
||||
/* Automatically generated layer name defines */
|
||||
#define LAYER_Base 0
|
||||
#define LAYER_Lower 1
|
||||
#define LAYER_Magic 2
|
||||
#define LAYER_Factory 3
|
||||
|
||||
/* To deal with the situation where there is no Lower layer, to keep &lower happy */
|
||||
#ifndef LAYER_Lower
|
||||
#define LAYER_Lower 0
|
||||
#endif
|
||||
|
||||
/* Custom Device-tree */
|
||||
|
||||
|
||||
/* Input Listeners */
|
||||
|
||||
|
||||
/* System behavior and Macros */
|
||||
/ {
|
||||
behaviors {
|
||||
ZMK_TD_LAYER(lower, LAYER_Lower)
|
||||
};
|
||||
};
|
||||
|
||||
/ {
|
||||
macros {
|
||||
rgb_ug_status_macro: rgb_ug_status_macro {
|
||||
label = "RGB_UG_STATUS";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&rgb_ug RGB_STATUS>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/ {
|
||||
#ifdef BT_DISC_CMD
|
||||
behaviors {
|
||||
bt_0: bt_0 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_0";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_0>, <&bt BT_DISC 0>;
|
||||
};
|
||||
bt_1: bt_1 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_1";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_1>, <&bt BT_DISC 1>;
|
||||
};
|
||||
bt_2: bt_2 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_2";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_2>, <&bt BT_DISC 2>;
|
||||
};
|
||||
bt_3: bt_3 {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "BT_3";
|
||||
#binding-cells = <0>;
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&bt_select_3>, <&bt BT_DISC 3>;
|
||||
};
|
||||
};
|
||||
macros {
|
||||
bt_select_0: bt_select_0 {
|
||||
label = "BT_SELECT_0";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 0>;
|
||||
};
|
||||
bt_select_1: bt_select_1 {
|
||||
label = "BT_SELECT_1";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 1>;
|
||||
};
|
||||
bt_select_2: bt_select_2 {
|
||||
label = "BT_SELECT_2";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 2>;
|
||||
};
|
||||
bt_select_3: bt_select_3 {
|
||||
label = "BT_SELECT_3";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 3>;
|
||||
};
|
||||
};
|
||||
#else
|
||||
macros {
|
||||
bt_0: bt_0 {
|
||||
label = "BT_0";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 0>;
|
||||
};
|
||||
bt_1: bt_1 {
|
||||
label = "BT_1";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 1>;
|
||||
};
|
||||
bt_2: bt_2 {
|
||||
label = "BT_2";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 2>;
|
||||
};
|
||||
bt_3: bt_3 {
|
||||
label = "BT_3";
|
||||
compatible = "zmk,behavior-macro";
|
||||
#binding-cells = <0>;
|
||||
bindings
|
||||
= <&out OUT_BLE>,
|
||||
<&bt BT_SEL 3>;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
};
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
magic: magic {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "MAGIC_HOLD_TAP";
|
||||
#binding-cells = <2>;
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <200>;
|
||||
bindings = <&mo>, <&rgb_ug_status_macro>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* Key positions */
|
||||
|
||||
#define POS_LH_C6R1 0
|
||||
#define POS_LH_C5R1 1
|
||||
#define POS_LH_C4R1 2
|
||||
#define POS_LH_C3R1 3
|
||||
#define POS_LH_C2R1 4
|
||||
#define POS_RH_C2R1 5
|
||||
#define POS_RH_C3R1 6
|
||||
#define POS_RH_C4R1 7
|
||||
#define POS_RH_C5R1 8
|
||||
#define POS_RH_C6R1 9
|
||||
#define POS_LH_C6R2 10
|
||||
#define POS_LH_C5R2 11
|
||||
#define POS_LH_C4R2 12
|
||||
#define POS_LH_C3R2 13
|
||||
#define POS_LH_C2R2 14
|
||||
#define POS_LH_C1R2 15
|
||||
#define POS_RH_C1R2 16
|
||||
#define POS_RH_C2R2 17
|
||||
#define POS_RH_C3R2 18
|
||||
#define POS_RH_C4R2 19
|
||||
#define POS_RH_C5R2 20
|
||||
#define POS_RH_C6R2 21
|
||||
#define POS_LH_C6R3 22
|
||||
#define POS_LH_C5R3 23
|
||||
#define POS_LH_C4R3 24
|
||||
#define POS_LH_C3R3 25
|
||||
#define POS_LH_C2R3 26
|
||||
#define POS_LH_C1R3 27
|
||||
#define POS_RH_C1R3 28
|
||||
#define POS_RH_C2R3 29
|
||||
#define POS_RH_C3R3 30
|
||||
#define POS_RH_C4R3 31
|
||||
#define POS_RH_C5R3 32
|
||||
#define POS_RH_C6R3 33
|
||||
#define POS_LH_C6R4 34
|
||||
#define POS_LH_C5R4 35
|
||||
#define POS_LH_C4R4 36
|
||||
#define POS_LH_C3R4 37
|
||||
#define POS_LH_C2R4 38
|
||||
#define POS_LH_C1R4 39
|
||||
#define POS_RH_C1R4 40
|
||||
#define POS_RH_C2R4 41
|
||||
#define POS_RH_C3R4 42
|
||||
#define POS_RH_C4R4 43
|
||||
#define POS_RH_C5R4 44
|
||||
#define POS_RH_C6R4 45
|
||||
#define POS_LH_C6R5 46
|
||||
#define POS_LH_C5R5 47
|
||||
#define POS_LH_C4R5 48
|
||||
#define POS_LH_C3R5 49
|
||||
#define POS_LH_C2R5 50
|
||||
#define POS_LH_C1R5 51
|
||||
#define POS_LH_T1 52
|
||||
#define POS_LH_T2 53
|
||||
#define POS_LH_T3 54
|
||||
#define POS_RH_T3 55
|
||||
#define POS_RH_T2 56
|
||||
#define POS_RH_T1 57
|
||||
#define POS_RH_C1R5 58
|
||||
#define POS_RH_C2R5 59
|
||||
#define POS_RH_C3R5 60
|
||||
#define POS_RH_C4R5 61
|
||||
#define POS_RH_C5R5 62
|
||||
#define POS_RH_C6R5 63
|
||||
#define POS_LH_C6R6 64
|
||||
#define POS_LH_C5R6 65
|
||||
#define POS_LH_C4R6 66
|
||||
#define POS_LH_C3R6 67
|
||||
#define POS_LH_C2R6 68
|
||||
#define POS_LH_T4 69
|
||||
#define POS_LH_T5 70
|
||||
#define POS_LH_T6 71
|
||||
#define POS_RH_T6 72
|
||||
#define POS_RH_T5 73
|
||||
#define POS_RH_T4 74
|
||||
#define POS_RH_C2R6 75
|
||||
#define POS_RH_C3R6 76
|
||||
#define POS_RH_C4R6 77
|
||||
#define POS_RH_C5R6 78
|
||||
#define POS_RH_C6R6 79
|
||||
|
||||
|
||||
/* Custom Defined Behaviors */
|
||||
/ {
|
||||
|
||||
};
|
||||
|
||||
/* Generated input processors */
|
||||
|
||||
|
||||
/* Automatically generated macro definitions */
|
||||
/ {
|
||||
macros {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/* Automatically generated behavior definitions */
|
||||
/ {
|
||||
behaviors {
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/* Automatically generated combos definitions */
|
||||
|
||||
|
||||
/* Automatically generated keymap */
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
|
||||
layer_Base {
|
||||
bindings = <
|
||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10
|
||||
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
|
||||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
|
||||
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&kp END &kp Z &kp X &kp C &kp V &kp B &kp LSHFT &kp LCTRL &lower &kp LGUI &kp LALT &mt RALT RET &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp PG_UP
|
||||
&magic LAYER_Magic 0 &kp HOME &kp GRAVE &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp LALT &kp RCTRL &kp RSHFT &kp SPACE &kp UP &kp LBKT &kp RBKT &kp DOWN &kp PG_DN
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Lower {
|
||||
bindings = <
|
||||
&kp C_BRI_DN &kp C_BRI_UP &kp C_PREV &kp C_NEXT &kp C_PP &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &none &kp PAUSE_BREAK
|
||||
&trans &none &none &none &none &kp HOME &kp LS(N9) &kp KP_NUM &kp KP_EQUAL &kp KP_SLASH &kp KP_MULTIPLY &kp PRINTSCREEN
|
||||
&trans &none &none &kp UP_ARROW &none &kp END &kp LS(N0) &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp SCROLLLOCK
|
||||
&trans &none &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp PG_UP &kp LS(N5) &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &none
|
||||
&trans &kp K_APP &none &kp F11 &kp F12 &kp PG_DN &trans &trans &to 0 &trans &trans &trans &kp COMMA &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &trans
|
||||
&magic LAYER_Magic 0 &kp CAPS &kp INS &kp F11 &kp F12 &trans &trans &trans &trans &trans &trans &kp KP_N0 &kp KP_N0 &kp KP_DOT &kp KP_ENTER &trans
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Magic {
|
||||
bindings = <
|
||||
&bt BT_CLR &none &none &none &none &none &none &none &none &bt BT_CLR_ALL
|
||||
&none &none &none &none &none &none &none &none &none &none &none &none
|
||||
&none &rgb_ug RGB_SPI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_BRI &rgb_ug RGB_TOG &none &none &none &none &none &none
|
||||
&bootloader &rgb_ug RGB_SPD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_EFF &none &none &none &none &none &bootloader
|
||||
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
|
||||
&none &none &none &none &none &bt_0 &bt_1 &out OUT_USB &none &none &none &none &none &none &none &to LAYER_Factory
|
||||
>;
|
||||
};
|
||||
|
||||
layer_Factory {
|
||||
bindings = <
|
||||
&kp NUMBER_0 &kp NUMBER_6 &kp NUMBER_2 &kp NUMBER_8 &kp NUMBER_4 &kp NUMBER_4 &kp NUMBER_8 &kp NUMBER_2 &kp NUMBER_6 &kp NUMBER_0
|
||||
&kp NUMBER_1 &kp NUMBER_7 &kp NUMBER_3 &kp NUMBER_9 &kp NUMBER_5 &kp NUMBER_0 &kp NUMBER_0 &kp NUMBER_5 &kp NUMBER_9 &kp NUMBER_3 &kp NUMBER_7 &kp NUMBER_1
|
||||
&kp NUMBER_2 &kp NUMBER_8 &kp NUMBER_4 &kp NUMBER_0 &kp NUMBER_6 &kp NUMBER_1 &kp NUMBER_1 &kp NUMBER_6 &kp NUMBER_0 &kp NUMBER_4 &kp NUMBER_8 &kp NUMBER_2
|
||||
&kp NUMBER_3 &kp NUMBER_9 &kp NUMBER_5 &kp NUMBER_1 &kp NUMBER_7 &kp NUMBER_2 &kp NUMBER_2 &kp NUMBER_7 &kp NUMBER_1 &kp NUMBER_5 &kp NUMBER_9 &kp NUMBER_3
|
||||
&kp NUMBER_4 &kp NUMBER_0 &kp NUMBER_6 &kp NUMBER_2 &kp NUMBER_8 &kp NUMBER_3 &kp NUMBER_4 &kp NUMBER_5 &kp NUMBER_6 &kp NUMBER_6 &kp NUMBER_5 &kp NUMBER_4 &kp NUMBER_3 &kp NUMBER_8 &kp NUMBER_2 &kp NUMBER_6 &kp NUMBER_0 &kp NUMBER_4
|
||||
&kp NUMBER_5 &kp NUMBER_1 &kp NUMBER_7 &kp NUMBER_3 &kp NUMBER_9 &kp NUMBER_7 &kp NUMBER_8 &kp NUMBER_9 &kp NUMBER_9 &kp NUMBER_8 &kp NUMBER_7 &kp NUMBER_9 &kp NUMBER_3 &kp NUMBER_7 &kp NUMBER_1 &kp NUMBER_5
|
||||
>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 640 KiB |
|
After Width: | Height: | Size: 2.6 MiB |
@@ -17,11 +17,16 @@ exec configure-gtk
|
||||
exec sleep 5; systemctl --user start kanshi.service
|
||||
|
||||
#When everything's wayland, maybe
|
||||
#output eDP-1 scale 2
|
||||
output eDP-1 scale 1
|
||||
|
||||
#Output HDMI-A-1 'Goldstar Company Ltd LG TV SSCR2 0x00000101'
|
||||
output HDMI-A-1 mode 1920x1080@60Hz
|
||||
|
||||
#Output DP-4 'LG Electronics LG TV SSCR2 0x00000101'
|
||||
output DP-3 mode 1280x720@60Hz
|
||||
#output DP-4 mode 1280x720@60Hz
|
||||
#output DP-4 mode 3840x2160@60Hz
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+q reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
@@ -49,6 +54,7 @@ floating_modifier $mod
|
||||
#bindsym $mod+Return exec st
|
||||
#bindsym $mod+Return exec sakura
|
||||
bindsym $mod+Return exec foot
|
||||
bindsym $mod+Shift+Return exec ghostty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "flake-utils",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756261190,
|
||||
"narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "77f348da3176dc68b20a73dab94852a417daf361",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-system-graphics": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737457219,
|
||||
"narHash": "sha256-nX9dxoATDCSQgWw/iv6BngXDJEyHVYYEvHEVQ7Ig3fI=",
|
||||
"owner": "soupglasses",
|
||||
"repo": "nix-system-graphics",
|
||||
"rev": "9c875e0c56cf2eb272b9102a4f3e24e4e31629fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "soupglasses",
|
||||
"repo": "nix-system-graphics",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1756125398,
|
||||
"narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"home-manager": "home-manager",
|
||||
"nix-system-graphics": "nix-system-graphics",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"system-manager": "system-manager"
|
||||
}
|
||||
},
|
||||
"system-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756281415,
|
||||
"narHash": "sha256-CjpoVwpJJ+DOZilPrDpZ5S3V+B1Y0calaHxTp2xMvGs=",
|
||||
"owner": "numtide",
|
||||
"repo": "system-manager",
|
||||
"rev": "e271eedac9a24678ca6cfc61677837422bf474e0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "system-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
system-manager = {
|
||||
url = "github:numtide/system-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nix-system-graphics = {
|
||||
url = "github:soupglasses/nix-system-graphics";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, flake-utils, nixpkgs, system-manager, nix-system-graphics, home-manager }: {
|
||||
systemConfigs.default = system-manager.lib.makeSystemConfig {
|
||||
modules = [
|
||||
nix-system-graphics.systemModules.default
|
||||
({
|
||||
config = {
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
system-manager.allowAnyDistro = true;
|
||||
system-graphics.enable = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.3 MiB |
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
nixos-rebuild switch --fast --flake .#vps --target-host root@room409.xyz
|
||||
NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --fast --flake .#vps --target-host root@room409.xyz --impure
|
||||
#NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild boot --fast --flake .#vps --target-host root@room409.xyz --impure
|
||||
|
||||
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 53 KiB |
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
nix run home-manager/master -- switch --flake ~/nix_config/home-manager
|
||||
#home-manager switch --flake ~/nix_config/home-manager
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo $(which nix) run --extra-experimental-features 'nix-command flakes' 'github:numtide/system-manager' -- switch --flake /home/nbraswell6/nix_config/system-manager
|
||||