mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-23 11:00:44 -06:00
Compare commits
No commits in common. "5faa987a058f980068c576038a382e5bf0d0cd7a" and "a5a2f580af41553952dd2a06d7d42518caa1f188" have entirely different histories.
5faa987a05
...
a5a2f580af
8 changed files with 20 additions and 136 deletions
38
flake.lock
38
flake.lock
|
@ -452,17 +452,16 @@
|
||||||
},
|
},
|
||||||
"hyprman": {
|
"hyprman": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nim2nix": "nim2nix",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729435058,
|
"lastModified": 1718917071,
|
||||||
"narHash": "sha256-eGikARBVu4R3Lf9jltmJ6u/z1vf2JOiUhvPsOXhZkcE=",
|
"narHash": "sha256-Ub3xTWzWry05O+Kqxdeob+Zp5mq4tI8KTbvwDzEHINE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "795e6941f83daef55ac957a7136a45abf050fb78",
|
"rev": "bc50f371874a64749209bfb6e650b87c4067b0e2",
|
||||||
"revCount": 6,
|
"revCount": 16,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.dayl.in/daylin/hyprman.git"
|
"url": "https://git.dayl.in/daylin/hyprman.git"
|
||||||
},
|
},
|
||||||
|
@ -580,7 +579,6 @@
|
||||||
"nim2nix": {
|
"nim2nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprman",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -599,26 +597,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nim2nix_2": {
|
"nim2nix_2": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1725469705,
|
|
||||||
"narHash": "sha256-4/iSUwB3XKmybdt4R87VhBPiD3z4BL6RrD9LyrrkesM=",
|
|
||||||
"owner": "daylinmorgan",
|
|
||||||
"repo": "nim2nix",
|
|
||||||
"rev": "42af12ca45025c7146bc24e27f5d8b65b003d663",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "daylinmorgan",
|
|
||||||
"repo": "nim2nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nim2nix_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_7"
|
||||||
},
|
},
|
||||||
|
@ -636,7 +614,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nim2nix_4": {
|
"nim2nix_3": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"utils",
|
"utils",
|
||||||
|
@ -1021,7 +999,7 @@
|
||||||
"hyprman": "hyprman",
|
"hyprman": "hyprman",
|
||||||
"lix": "lix",
|
"lix": "lix",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
"nim2nix": "nim2nix_2",
|
"nim2nix": "nim2nix",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
@ -1201,7 +1179,7 @@
|
||||||
},
|
},
|
||||||
"tsm": {
|
"tsm": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nim2nix": "nim2nix_3",
|
"nim2nix": "nim2nix_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
|
@ -1224,7 +1202,7 @@
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nim2nix": "nim2nix_4",
|
"nim2nix": "nim2nix_3",
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
// (
|
// (
|
||||||
''
|
''
|
||||||
vpn|desktop|hyprland|chrome
|
vpn|desktop|hyprland|chrome
|
||||||
backups|hp-scanner|llm
|
docker|vbox|backups|hp-scanner|llm
|
||||||
podman|docker|vbox
|
|
||||||
''
|
''
|
||||||
|> listify
|
|> listify
|
||||||
|> enableAttrs
|
|> enableAttrs
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ (flake.pkg "utils") ]
|
[ (flake.pkg "utils") ]
|
||||||
++ (with pkgs; [
|
++ (with pkgs; [
|
||||||
distrobox
|
|
||||||
zk
|
zk
|
||||||
quarto
|
quarto
|
||||||
cachix
|
cachix
|
||||||
|
|
|
@ -32,13 +32,12 @@ mkOizysModule config "hyprland" {
|
||||||
ksnip
|
ksnip
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
pwvucontrol
|
pavucontrol
|
||||||
|
|
||||||
#hypr ecosystem
|
#hypr ecosystem
|
||||||
hyprlock
|
hyprlock
|
||||||
hypridle
|
hypridle
|
||||||
|
|
||||||
# wallpapers
|
|
||||||
swww
|
swww
|
||||||
|
|
||||||
catppuccin-cursors.mochaDark
|
catppuccin-cursors.mochaDark
|
||||||
|
@ -53,21 +52,22 @@ mkOizysModule config "hyprland" {
|
||||||
mako
|
mako
|
||||||
eww
|
eww
|
||||||
wlr-randr
|
wlr-randr
|
||||||
|
# swww
|
||||||
|
#
|
||||||
|
# dunst
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(flake.overlay "hyprland-contrib")
|
(flake.overlay "hyprland-contrib")
|
||||||
# (overlayFrom "nixpkgs-wayland")
|
# (overlayFrom "nixpkgs-wayland")
|
||||||
# (overlayFrom "hyprland")
|
# (overlayFrom "hyprland")
|
||||||
];
|
];
|
||||||
|
|
||||||
# using the below to autostart Hyprland
|
# using the below to autostart Hyprland
|
||||||
# broke my keybindings that were working before
|
# broke my keybindings that were working before
|
||||||
#
|
|
||||||
# services.getty = {
|
services.getty = {
|
||||||
# extraArgs = [ "--skip-login" ];
|
extraArgs = [ "--skip-login" ];
|
||||||
# loginOptions = "-p -- ${config.oizys.user}";
|
loginOptions = "-p -- ${config.oizys.user}";
|
||||||
# };
|
};
|
||||||
|
|
||||||
# environment.etc =
|
# environment.etc =
|
||||||
# let
|
# let
|
||||||
|
|
|
@ -26,7 +26,6 @@ in
|
||||||
|
|
||||||
virtualbox
|
virtualbox
|
||||||
docker
|
docker
|
||||||
podman
|
|
||||||
|
|
||||||
gui
|
gui
|
||||||
fonts
|
fonts
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
mkOizysModule,
|
|
||||||
enabled,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
mkOizysModule config "podman" {
|
|
||||||
|
|
||||||
# I'm not sure what this is doing, but it was in the old wiki...
|
|
||||||
# Enable common container config files in /etc/containers
|
|
||||||
virtualisation.containers = enabled;
|
|
||||||
virtualisation = {
|
|
||||||
podman = enabled // {
|
|
||||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
|
||||||
# dockerCompat = true;
|
|
||||||
|
|
||||||
# Required for containers under podman-compose to be able to talk to each other.
|
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
podman-tui # status of containers in the terminal
|
|
||||||
podman-compose # start group of containers for dev
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -3,5 +3,4 @@
|
||||||
nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/
|
nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/
|
||||||
nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
|
nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
|
||||||
nimble = pkgs.callPackage ./nim/nimble { };
|
nimble = pkgs.callPackage ./nim/nimble { };
|
||||||
distrobox = pkgs.callPackage ./distrobox {};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,64 +0,0 @@
|
||||||
{
|
|
||||||
stdenvNoCC,
|
|
||||||
lib,
|
|
||||||
fetchFromGitHub,
|
|
||||||
makeWrapper,
|
|
||||||
wget,
|
|
||||||
installShellFiles,
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
||||||
pname = "distrobox";
|
|
||||||
version = "1.8.0";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "89luca89";
|
|
||||||
repo = "distrobox";
|
|
||||||
rev = finalAttrs.version;
|
|
||||||
hash = "sha256-e9oSTk+UlkrkRSipqjjMqwtxEvEZffVBmlSTmsIT7cU=";
|
|
||||||
};
|
|
||||||
|
|
||||||
dontConfigure = true;
|
|
||||||
dontBuild = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper installShellFiles];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
# https://github.com/89luca89/distrobox/issues/408
|
|
||||||
substituteInPlace ./distrobox-generate-entry \
|
|
||||||
--replace-fail 'icon_default="''${XDG_DATA_HOME:-''${HOME}/.local/share}' "icon_default=\"$out"
|
|
||||||
./install -P $out
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
# https://github.com/89luca89/distrobox/issues/407
|
|
||||||
postFixup = ''
|
|
||||||
wrapProgram "$out/bin/distrobox-generate-entry" \
|
|
||||||
--prefix PATH ":" ${lib.makeBinPath [ wget ]}
|
|
||||||
|
|
||||||
mkdir -p $out/share/distrobox
|
|
||||||
echo 'container_additional_volumes="/nix:/nix"' > $out/share/distrobox/distrobox.conf
|
|
||||||
'';
|
|
||||||
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
ls completions/zsh
|
|
||||||
installShellCompletion --cmd distrbox --zsh completions/zsh/_distrobox
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Wrapper around podman or docker to create and start containers";
|
|
||||||
longDescription = ''
|
|
||||||
Use any linux distribution inside your terminal. Enable both backward and
|
|
||||||
forward compatibility with software and freedom to use whatever distribution
|
|
||||||
you’re more comfortable with
|
|
||||||
'';
|
|
||||||
homepage = "https://distrobox.it/";
|
|
||||||
license = licenses.gpl3Only;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ atila ];
|
|
||||||
};
|
|
||||||
})
|
|
Loading…
Reference in a new issue