Compare commits

..

5 commits

Author SHA1 Message Date
04cb6a0c4c
flake.lock: Update
Some checks failed
/ check (push) Has been cancelled
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/1ae1f57dad13595600dd57b6a55fcbaef6673804' (2024-02-19)
  → 'github:nix-community/disko/23d308f0059955e3719efc81a34d1fc0369fbb74' (2024-02-22)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/39a63475945fea0d8b4e4aeb351f392c1c3beeab' (2024-02-21)
  → 'github:nix-community/emacs-overlay/841abef01afbd293aa80130bcbd811e4102d5770' (2024-02-23)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/e0da498ad77ac8909a980f07eff060862417ccf7' (2024-02-18)
  → 'github:NixOS/nixpkgs/3cb4ae6689d2aa3f363516234572613b31212b78' (2024-02-22)
• Updated input 'home-manager':
    'github:nix-community/home-manager/517601b37c6d495274454f63c5a483c8e3ca6be1' (2024-02-20)
  → 'github:nix-community/home-manager/0e0e9669547e45ea6cca2de4044c1a384fd0fe55' (2024-02-22)
• Updated input 'microvm':
    'github:astro/microvm.nix/c3f2eb54f96f56ec93fcccc7f14808f10a61e6ca' (2024-02-20)
  → 'github:astro/microvm.nix/5544916016482c91874b0b25fd069a6e041c2715' (2024-02-22)
• Updated input 'microvm/spectrum':
    'git+https://spectrum-os.org/git/spectrum?ref=refs/heads/main&rev=97e2f3429ee61dc37664b4d096b2fec48a57b691' (2023-12-22)
  → 'git+https://spectrum-os.org/git/spectrum?ref=refs/heads/main&rev=6d0e73864d28794cdbd26ab7b37259ab0e1e044c' (2024-02-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/106d3fec43bcea19cb2e061ca02531d54b542ce3' (2024-02-16)
  → 'github:NixOS/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/3d6647bf9d1f8e537b0d026c51ea25c0cdd92055' (2024-02-21)
  → 'github:oxalica/rust-overlay/67853eda5dfe64922b9deb0ebc246a846fe177c7' (2024-02-23)
2024-02-23 11:36:47 +01:00
6675c0a6c2
Add nheko Matrix client 2024-02-23 11:36:15 +01:00
16f0b79fd0
emacs: Switch to nixfmt-rfc-style for formatting nix files 2024-02-23 11:35:56 +01:00
10bf3510be
mimir: Add iwd 2024-02-23 11:33:18 +01:00
441a7f8104
sway: Power on individual displays so order maybe is preserved 2024-02-23 11:32:03 +01:00
7 changed files with 60 additions and 40 deletions

View file

@ -124,11 +124,11 @@
]
},
"locked": {
"lastModified": 1708305517,
"narHash": "sha256-WYnEspeTTksC21obnnxWOGOAQbnBD0GES0S0XOLsJjs=",
"lastModified": 1708564520,
"narHash": "sha256-juduDTYBhGN6jNfQ5RMDpbQF+MkO0pj3k7XGDSTjAbs=",
"owner": "nix-community",
"repo": "disko",
"rev": "1ae1f57dad13595600dd57b6a55fcbaef6673804",
"rev": "23d308f0059955e3719efc81a34d1fc0369fbb74",
"type": "github"
},
"original": {
@ -148,11 +148,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1708506424,
"narHash": "sha256-4fqy9oG7vmaCkRQPeQly7N4LwXAfOizm+EVqs7mHurk=",
"lastModified": 1708679224,
"narHash": "sha256-V66NAQSTakocPST2GYv4SKK+ALBg3sgCNq0jIOpNkpc=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "39a63475945fea0d8b4e4aeb351f392c1c3beeab",
"rev": "841abef01afbd293aa80130bcbd811e4102d5770",
"type": "github"
},
"original": {
@ -414,11 +414,11 @@
]
},
"locked": {
"lastModified": 1708451036,
"narHash": "sha256-tgZ38NummEdnXvxj4D0StHBzXgceAw8CptytHljH790=",
"lastModified": 1708591310,
"narHash": "sha256-8mQGVs8JccWTnORgoLOTh9zvf6Np+x2JzhIc+LDcJ9s=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "517601b37c6d495274454f63c5a483c8e3ca6be1",
"rev": "0e0e9669547e45ea6cca2de4044c1a384fd0fe55",
"type": "github"
},
"original": {
@ -438,11 +438,11 @@
"spectrum": "spectrum"
},
"locked": {
"lastModified": 1708421045,
"narHash": "sha256-xoN9rB7Uyoj+fIjMvHN1l3dGyQff7hV4KIVCYDocn4U=",
"lastModified": 1708617817,
"narHash": "sha256-7zbgJ3Pzen8V3SS3yemo7hiua2gzP/gmIM8Of1t4c7M=",
"owner": "astro",
"repo": "microvm.nix",
"rev": "c3f2eb54f96f56ec93fcccc7f14808f10a61e6ca",
"rev": "5544916016482c91874b0b25fd069a6e041c2715",
"type": "github"
},
"original": {
@ -521,11 +521,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1708091350,
"narHash": "sha256-o28BJYi68qqvHipT7V2jkWxDiMS1LF9nxUsou+eFUPQ=",
"lastModified": 1708594753,
"narHash": "sha256-c/gH7iXS/IYH9NrFOT+aJqTq+iEBkvAkpWuUHGU3+f0=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "106d3fec43bcea19cb2e061ca02531d54b542ce3",
"rev": "3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958",
"type": "github"
},
"original": {
@ -586,11 +586,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1708294118,
"narHash": "sha256-evZzmLW7qoHXf76VCepvun1esZDxHfVRFUJtumD7L2M=",
"lastModified": 1708566995,
"narHash": "sha256-e/THimsoxxMAHSbwMKov5f5Yg+utTj6XVGEo24Lhx+0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e0da498ad77ac8909a980f07eff060862417ccf7",
"rev": "3cb4ae6689d2aa3f363516234572613b31212b78",
"type": "github"
},
"original": {
@ -762,11 +762,11 @@
]
},
"locked": {
"lastModified": 1708481452,
"narHash": "sha256-s07K6pwJtnB7Z/3wbkf4iaYXj+H5CuDD94I8hohm3Ig=",
"lastModified": 1708654230,
"narHash": "sha256-f8B3nm0DIsWBmaLHvFvjJnqvFsEEoHxTjE9or5w4nIo=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "3d6647bf9d1f8e537b0d026c51ea25c0cdd92055",
"rev": "67853eda5dfe64922b9deb0ebc246a846fe177c7",
"type": "github"
},
"original": {
@ -799,11 +799,11 @@
"spectrum": {
"flake": false,
"locked": {
"lastModified": 1703273931,
"narHash": "sha256-CJ1Crdi5fXHkCiemovsp20/RC4vpDaZl1R6V273FecI=",
"lastModified": 1708358594,
"narHash": "sha256-e71YOotu2FYA67HoC/voJDTFsiPpZNRwmiQb4f94OxQ=",
"ref": "refs/heads/main",
"rev": "97e2f3429ee61dc37664b4d096b2fec48a57b691",
"revCount": 597,
"rev": "6d0e73864d28794cdbd26ab7b37259ab0e1e044c",
"revCount": 614,
"type": "git",
"url": "https://spectrum-os.org/git/spectrum"
},

View file

@ -1514,13 +1514,13 @@ Add [[https://github.com/NixOS/nix-mode][nix-mode]]
:hook (nix-mode . eglot-ensure))
#+end_src
Tell =nil= to use =nixpkgs-fmt= for formatting nix files.
Tell =nil= to use =nixfmt= for formatting nix files.
#+begin_src emacs-lisp
(with-eval-after-load 'eglot
(add-to-list 'eglot-server-programs
`(nix-mode . ("nil" :initializationOptions
(:formatting (:command ["nixpkgs-fmt"]))))))
(:formatting (:command ["nixfmt"]))))))
#+end_src
*** Common Lisp

View file

@ -195,7 +195,7 @@ in
aspell
lldb
(nil.overrideAttrs (_: { doCheck = false; }))
nixpkgs-fmt
nixfmt-rfc-style
python3
]
++ (with aspellDicts; [

View file

@ -332,17 +332,23 @@ in
}
];
timeouts = [
{
timeout = 900;
command = swaylockcmd;
}
{
timeout = 1200;
command = "${pkgs.sway}/bin/swaymsg 'output * power off'";
resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * power on'";
}
];
timeouts =
let
resumeMessages = builtins.concatStringsSep ", " (
builtins.map (name: "output ${name} power on") (builtins.attrNames cfg.output)
);
in
[
{
timeout = 900;
command = swaylockcmd;
}
{
timeout = 1200;
command = "${pkgs.sway}/bin/swaymsg 'output * power off'";
resumeCommand = "${pkgs.sway}/bin/swaymsg '${resumeMessages}'";
}
];
};
};

View file

@ -206,6 +206,15 @@
internalInterfaces = [ "microvm" ];
externalInterface = "enp4s0";
};
wireless.iwd = {
enable = true;
settings = {
General = {
EnableNetworkConfiguration = true;
};
};
};
};
microvm.autostart = [ "miniflux" ];
@ -406,7 +415,10 @@
};
environment = {
systemPackages = with pkgs; [ appimage-run ];
systemPackages = with pkgs; [
appimage-run
iwgtk
];
sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";

View file

@ -219,6 +219,7 @@ in
libreoffice-fresh
minio-client
mpv
nheko
nomachine-client
nordzy-cursor-theme
(noson.overrideAttrs (

View file

@ -271,6 +271,7 @@ in
libreoffice-fresh
minio-client
mpv
nheko
nordzy-cursor-theme
pamedia
pass