my nixos configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

misc + emacs bump

Thunder d9e761a9 10e98a4f

+25 -10
+7 -7
flake.lock
··· 353 353 ] 354 354 }, 355 355 "locked": { 356 - "lastModified": 1773765376, 357 - "narHash": "sha256-rFJ4FWHIKKbH3V6MFoe5cuHmv4oTrOHOJFlTo6J1pxE=", 356 + "lastModified": 1773765579, 357 + "narHash": "sha256-AnuEk2xSkbVbCjA6qNJSRBvFN1Ere9PHJmVmPS9FY5g=", 358 358 "owner": "thundertheidiot", 359 359 "repo": "emacs", 360 - "rev": "566811696539d4ecf8cf66c68967dafe09e5cb10", 360 + "rev": "eb563a0fdf45e0e696f782c4b33326c958dffeaa", 361 361 "type": "github" 362 362 }, 363 363 "original": { ··· 406 406 "nixpkgs": "nixpkgs_7" 407 407 }, 408 408 "locked": { 409 - "lastModified": 1773764904, 410 - "narHash": "sha256-llCnSYVFbm64xIUTUgWkvqRXmUpqyRYDtogZP8C52pk=", 409 + "lastModified": 1773765535, 410 + "narHash": "sha256-irrTgt7iMUrTD3Adw4KI4Q+WkuiF586qGXqr6Gdtb3c=", 411 411 "ref": "dev", 412 - "rev": "648452330c21f08d1c56bb0e555a07508f51c92e", 413 - "revCount": 381, 412 + "rev": "8b510f8f72603fb3b630c52ce31dfd060e270852", 413 + "revCount": 382, 414 414 "type": "git", 415 415 "url": "https://codeberg.org/thundertheidiot/ewm.git" 416 416 },
+1
hosts/desktop/default.nix
··· 181 181 disableVrr = true; 182 182 }; 183 183 "HDMI-A-1" = { 184 + enable = false; 184 185 x = 4480; 185 186 xorgName = "HDMI-1"; 186 187 hyprlandExclude = false;
+4 -2
meow/Main.hs
··· 5 5 import Distribution.Simple.Utils 6 6 import System.Environment 7 7 8 + import Nix.Build 8 9 import Wireguard 9 10 10 11 inEmacs :: IO Bool ··· 22 23 case safeHead args of 23 24 Just "wg" -> do 24 25 showKeys "sops/wireguard" 26 + Just "build" -> do 27 + Just out <- nixBuild [".#nixosConfigurations." ++ (head . tail $ args) ++ ".config.system.build.toplevel"] emacs 28 + putStrLn out 25 29 _ -> putStrLn "ligma" 26 - 27 - showKeys "sops/wireguard" 28 30 29 31 putStrLn $ "Emacs: " ++ show emacs
+13 -1
modules/monitor.nix
··· 35 35 description = "Monitor name"; 36 36 }; 37 37 38 + enable = mkOption { 39 + type = bool; 40 + default = true; 41 + description = "Enable this output"; 42 + }; 43 + 38 44 xorgName = mkOption { 39 45 type = str; 40 46 default = name; ··· 214 220 xdg.configFile."emacs/ewm-local.el".text = '' 215 221 (setq ewm-output-config '(${concatStringsSep "\n" (map (mon: let 216 222 inherit (mon) name width height scale x y; 223 + 224 + emacsBool = bool: 225 + if bool 226 + then "t" 227 + else "nil"; 217 228 in '' 218 229 ("${name}" :width ${toString width} :height ${toString height} 219 230 :scale ${toString scale} 220 231 :x ${toString x} 221 232 ${ifNotNull mon.refresh ":refresh ${toString (floor mon.refresh)}"} 222 - :y ${toString y})'') (attrValues cfg))})) 233 + :y ${toString y} 234 + :enabled ${emacsBool mon.enable})'') (attrValues cfg))})) 223 235 ''; # no vrr support yet 224 236 } 225 237 ];