Compare commits

..

7 commits

Author SHA1 Message Date
a39ecfa546 flake.lock: Update
Flake lock file updates:

• Updated input 'ghostty':
    'git+ssh://git@github.com/ghostty-org/ghostty?ref=refs/heads/main&rev=2725d5ecb3140ffcdc6700b58f70a89bf8d14a36' (2024-12-17)
  → 'git+ssh://git@github.com/ghostty-org/ghostty?ref=refs/heads/main&rev=f46a67696ec8606681f38f559e80e5eb95e04c4a' (2024-12-24)
• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=5f1df55fcb45a72e92258113685aa9064f6ebf3e' (2024-12-17)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=2e2e2e2cad97eb017ab02f8a67b751e0abe3bb72' (2024-12-23)
• Updated input 'hyprland/aquamarine':
    'github:hyprwm/aquamarine/a132fa41be7ebe797ad758e84d9df068151a723b' (2024-12-17)
  → 'github:hyprwm/aquamarine/eecb74dc79bb6752a2a507e6edee3042390a6091' (2024-12-22)
• Updated input 'hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/f388aacd22be4a6e4d634fbaf6f75eb0713d239a' (2024-12-16)
  → 'github:hyprwm/hyprcursor/69270ba8f057d55b0e6c2dca0e165d652856e613' (2024-12-22)
• Updated input 'hyprland/hyprgraphics':
    'github:hyprwm/hyprgraphics/fb2c0268645a77403af3b8a4ce8fa7ba5917f15d' (2024-12-08)
  → 'github:hyprwm/hyprgraphics/6dea3fba08fd704dd624b6d4b261638fb4003c9c' (2024-12-22)
• Updated input 'hyprland/hyprland-qtutils':
    'github:hyprwm/hyprland-qtutils/3833097e50473a152dd614d4b468886840b4ea78' (2024-12-11)
  → 'github:hyprwm/hyprland-qtutils/c77109d7e1ddbcdb87cafd32ce411f76328ae152' (2024-12-22)
• Updated input 'hyprland/hyprlang':
    'github:hyprwm/hyprlang/16e59c1eb13d9fb6de066f54e7555eb5e8a4aba5' (2024-12-16)
  → 'github:hyprwm/hyprlang/0404833ea18d543df44df935ebf1b497310eb046' (2024-12-22)
• Updated input 'hyprland/hyprutils':
    'github:hyprwm/hyprutils/e6cf45cd1845368702e03b8912f4cc44ebba3322' (2024-12-16)
  → 'github:hyprwm/hyprutils/c3331116ebd0b71df5ae8c6efe9a7f94148b03bf' (2024-12-21)
• Updated input 'hyprland/hyprwayland-scanner':
    'github:hyprwm/hyprwayland-scanner/90e87f7fcfcce4862826d60332cbc5e2f87e1f88' (2024-12-16)
  → 'github:hyprwm/hyprwayland-scanner/4d7367b6eee87397e2dbca2e78078dd0a4ef4c61' (2024-12-21)
• Updated input 'hyprland/nixpkgs':
    'github:NixOS/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5' (2024-12-13)
  → 'github:NixOS/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507' (2024-12-19)
• Updated input 'hyprland/pre-commit-hooks':
    'github:cachix/git-hooks.nix/0bb4be58f21ff38fc3cdbd6c778eb67db97f0b99' (2024-12-16)
  → 'github:cachix/git-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498' (2024-12-21)
• Updated input 'hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/3e884d941ca819c1f2e50df8bdae0debded1ed87' (2024-12-17)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/d7f18dda5e511749fa1511185db3536208fb1a63' (2024-12-22)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/311d6cf3ad3f56cb051ffab1f480b2909b3f754d' (2024-12-15)
  → 'github:nix-community/nix-index-database/d583b2d142f0428313df099f4a2dcf2a0496aa78' (2024-12-22)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/31b60284243f8b077894371f1ab3753dc26653c7' (2024-12-17)
  → 'github:nix-community/nixpkgs-wayland/8988b0603fed7e3d303718328cf4cd8dd137575e' (2024-12-22)
• Updated input 'nixpkgs-wayland/lib-aggregate':
    'github:nix-community/lib-aggregate/46bedda9e45f2735f41ec3c01cba2b8ce7ba9808' (2024-12-15)
  → 'github:nix-community/lib-aggregate/1451a8a6902c85c90dae3c253df5401b7eb3581f' (2024-12-22)
• Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/538697b664a64fade8ce628d01f35d1f1fd82d77' (2024-12-15)
  → 'github:nix-community/nixpkgs.lib/0a31e8d833173ae63e43fd9dbff1ccf09c4f778c' (2024-12-22)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5' (2024-12-13)
  → 'github:nixos/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507' (2024-12-19)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004' (2024-12-12)
  → 'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d' (2024-12-18)
• Updated input 'stable':
    'github:nixos/nixpkgs/bcba2fbf6963bf6bed3a749f9f4cf5bff4adb96d' (2024-12-14)
  → 'github:nixos/nixpkgs/6df924734e1b626efd70925545de844b1c25246f' (2024-12-22)
2024-12-24 16:37:22 +00:00
a3b4ea2046
cleanup changes 2024-12-24 10:35:18 -06:00
d7f3c7de3c
switch back to nixos-unstable 2024-12-24 09:45:17 -06:00
d936ff9efa
actually update desktop file 2024-12-24 09:44:51 -06:00
e3d0f01692
update nimble to dev version 2024-12-24 08:34:39 -06:00
a811930cd2
swap desktop file to virt 2024-12-24 08:28:15 -06:00
8b435e6eea
todo 2024-12-24 08:28:13 -06:00
6 changed files with 61 additions and 39 deletions

View file

@ -279,11 +279,11 @@
"zig": "zig"
},
"locked": {
"lastModified": 1734893212,
"narHash": "sha256-wLDWfQLih0VRc7fh5ZYlZ53qRn8WLXn0U/Vxv6A2YaE=",
"lastModified": 1735053980,
"narHash": "sha256-SEaK0ZkIT+2+Z6naqAsCxTC49jAVgtWmllyz4yT+580=",
"ref": "refs/heads/main",
"rev": "28c40f9bae1386893ba4dd46d969b76d61682f78",
"revCount": 8393,
"rev": "f46a67696ec8606681f38f559e80e5eb95e04c4a",
"revCount": 8431,
"type": "git",
"url": "ssh://git@github.com/ghostty-org/ghostty"
},
@ -388,11 +388,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1734907157,
"narHash": "sha256-6uf1g8Kz9E5LuIUNomMwH4dylF74DARc5FgW/DdPXl0=",
"lastModified": 1734988658,
"narHash": "sha256-L1qUns92rVum958hTKOJuU5wEYJdzZUCMGfYCHZ4fsU=",
"ref": "refs/heads/main",
"rev": "5f7ad767dbf0bac9ddd6bf6c825fb9ed7921308a",
"revCount": 5582,
"rev": "2e2e2e2cad97eb017ab02f8a67b751e0abe3bb72",
"revCount": 5584,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland/"
@ -914,16 +914,16 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1734435836,
"narHash": "sha256-kMBQ5PRiFLagltK0sH+08aiNt3zGERC2297iB6vrvlU=",
"lastModified": 1734649271,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4989a246d7a390a859852baddb1013f825435cee",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -1088,11 +1088,11 @@
},
"stable": {
"locked": {
"lastModified": 1734529975,
"narHash": "sha256-ze3IJksru9dN0keqUxY0WNf8xrwfs8Ty/z9v/keyBbg=",
"lastModified": 1734835170,
"narHash": "sha256-JG6n9tQET7ZLjvwjH9BdYE6pES/Alcduxv2FDXliuBM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "72d11d40b9878a67c38f003c240c2d2e1811e72a",
"rev": "6df924734e1b626efd70925545de844b1c25246f",
"type": "github"
},
"original": {

View file

@ -4,7 +4,7 @@
outputs = inputs: (import ./lib inputs).oizysFlake;
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
stable.url = "github:nixos/nixpkgs/nixos-24.05";
my-nixpkgs.url = "github:daylinmorgan/nixpkgs/nixos-unstable";

View file

@ -15,6 +15,21 @@ let
}
);
};
windows10Logo = pkgs.fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/c/c7/Windows_logo_-_2012.png";
hash = "sha256-uVNgGUo0NZN+mUmvMzyk0HKnhx64uqT4YWGSdeBz3T4=";
};
windows-desktopItem = pkgs.makeDesktopItem {
name = "win11-vm";
exec = ''
${pkgs.bash}/bin/sh -c "${pkgs.libvirt}/bin/virsh start win11 && ${pkgs.virt-viewer}/bin/virt-viewer --wait -c qemu:///system win11 && ${pkgs.libvirt}/bin/virsh shutdown win11"
'';
icon = "${windows10Logo}";
desktopName = "Windows 11 VM";
};
in
{
imports = [
@ -45,4 +60,10 @@ in
users.users.daylin = {
extraGroups = [ "libvirtd" ];
};
environment.systemPackages = [
(pkgs.runCommand "windows-vm-desktop-item" { } ''
install -Dm444 -t $out/share/applications ${windows-desktopItem}/share/applications/*.desktop
'')
];
}

View file

@ -1,35 +1,34 @@
{
config,
mkOizysModule,
pkgs,
...
}:
let
# win10vm = pkgs.stdenvNoCC.mkDerivation rec {
# name = "win10vm";
# unpackPhase = "true";
# version = "unstable";
# windows10Logo = pkgs.fetchurl {
# url = "https://upload.wikimedia.org/wikipedia/commons/c/c7/Windows_logo_-_2012.png";
# hash = "sha256-uVNgGUo0NZN+mUmvMzyk0HKnhx64uqT4YWGSdeBz3T4=";
# };
#
# desktopItem = pkgs.makeDesktopItem {
# name = "win10vm";
# exec = "VBoxManage startvm win10";
# icon = "${windows10Logo}";
# desktopName = "Windows 10 VM";
# };
# installPhase = ''
# install -Dm0644 {${desktopItem},$out}/share/applications/win10vm.desktop
# '';
# };
win10vm = pkgs.stdenvNoCC.mkDerivation rec {
name = "win10vm";
unpackPhase = "true";
version = "unstable";
windows10Logo = pkgs.fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/c/c7/Windows_logo_-_2012.png";
hash = "sha256-uVNgGUo0NZN+mUmvMzyk0HKnhx64uqT4YWGSdeBz3T4=";
};
desktopItem = pkgs.makeDesktopItem {
name = "win10vm";
exec = "VBoxManage startvm win10";
icon = "${windows10Logo}";
desktopName = "Windows 10 VM";
};
installPhase = ''
install -Dm0644 {${desktopItem},$out}/share/applications/win10vm.desktop
'';
};
in
mkOizysModule config "vbox" {
# environment.systemPackages = [ win10vm ];
virtualisation.virtualbox = {
host.enable = true;
};
users.extraGroups.vboxusers.members = [ "daylin" ];
environment.systemPackages = [ win10vm ];
}

View file

@ -10,11 +10,12 @@
}:
buildNimPackage (finalAttrs: {
pname = "nimble";
version = "0.16.4";
version = "0.16.4-unstable";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "nimble";
rev = "v${finalAttrs.version}";
rev = "30e7014c8ea865f3b9fc051824fe6dbc6b1d917c";
# rev = "v${finalAttrs.version}";
hash = "sha256-ASodRov4rO/IhjQRRdqVnLWMG1voXWM9F6R6VJd9qkM=";
fetchSubmodules = true;
};

View file

@ -6,6 +6,7 @@
## software
- [ ] switch systemd desktop file to libvirt VM
- [ ] why is my update ci always building llm and rofi?
- [ ] include langservers for enabled languages?
<!--[tracking issue](https://github.com/wez/wezterm/issues/5990)-->