mirror test
This commit is contained in:
23
.github/workflows/mirror.yml
vendored
Normal file
23
.github/workflows/mirror.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Mirror repository
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
mirror:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Mirror to SourceHut
|
||||||
|
run: |
|
||||||
|
git remote set-url --add --push origin git@git.sr.ht:~canasta/cnix
|
||||||
|
git remote set-url --push origin --mirror=push
|
||||||
|
git push --mirror
|
||||||
|
env:
|
||||||
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
72
flake.lock
generated
72
flake.lock
generated
@@ -154,11 +154,11 @@
|
|||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729924178,
|
"lastModified": 1730010749,
|
||||||
"narHash": "sha256-ZhDqOYZwx0kYg1vPrmZ2fJm/wem739eNSSK+GlzdeqA=",
|
"narHash": "sha256-UBckyKItSD0z50+3YQOqfOuyvUI7UjPHiLbOPFUolqo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "e831b4d256526cc56bd37c7c579842866410bebc",
|
"rev": "5fa09829e74070c1e83b2aaa50b71bbc6da3f37c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -461,11 +461,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729894599,
|
"lastModified": 1730016908,
|
||||||
"narHash": "sha256-nL9nzNE5/re/P+zOv7NX6bRm5e+DeS1HIufQUJ01w20=",
|
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "93435d27d250fa986bfec6b2ff263161ff8288cb",
|
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -592,11 +592,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729957831,
|
"lastModified": 1729989895,
|
||||||
"narHash": "sha256-xI4wC3/KqK+GhLVZWDzSXncLqO6vF0DXYvykXdtnCdE=",
|
"narHash": "sha256-IFctdjt+v7zRDe24Y8+BdVDaKy0pmn60FWDzpYg4CT0=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland",
|
"repo": "hyprland",
|
||||||
"rev": "c356e425008cba8bd0c87487a2c79b9be4eda2aa",
|
"rev": "a3d3b4fd64a51a8c1663b450bd2a408f1f0fa9b3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -925,11 +925,11 @@
|
|||||||
"umu": "umu"
|
"umu": "umu"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729733994,
|
"lastModified": 1729993301,
|
||||||
"narHash": "sha256-OFI0EG5ToqHJMPgMKmo6eAJcHqhNVgrgcAMQ8oIHEN8=",
|
"narHash": "sha256-1SJ5Ky+HSMXAf+uij34MIB2jii0RZwFmOaJg1/e9Rzg=",
|
||||||
"owner": "fufexan",
|
"owner": "fufexan",
|
||||||
"repo": "nix-gaming",
|
"repo": "nix-gaming",
|
||||||
"rev": "af2e2e01939aa85a6ca588b97297a0856618f341",
|
"rev": "655bf9e689c9f7b15ba6521b849321120c0af616",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1003,11 +1003,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-small": {
|
"nixpkgs-small": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729939720,
|
"lastModified": 1730025694,
|
||||||
"narHash": "sha256-F7jTiYAxLF0Hcv92Xa5dIufzH1plmS9nbwO50j/9Kxw=",
|
"narHash": "sha256-Isj+5RY86+N+JrotqpaXqi6hUAABcF6pIOlIWy2leC8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c93e398e719021a9ad9da56af1589d23029f3cea",
|
"rev": "23664a7358c599dd4f975f16cea0865bf423e83d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1146,11 +1146,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729665710,
|
"lastModified": 1729880355,
|
||||||
"narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=",
|
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2768c7d042a37de65bb1b5b3268fc987e534c49d",
|
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1176,21 +1176,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nur": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729971220,
|
|
||||||
"narHash": "sha256-m8FayBFkRGljYTZDWygQdDqoD7ScUSm1iPi6iAvfSw0=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"rev": "e51ca268e4ffb736cc9db0ef2c8bf36ef026ffdc",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
@@ -1266,7 +1251,6 @@
|
|||||||
"nixpak": "nixpak",
|
"nixpak": "nixpak",
|
||||||
"nixpkgs": "nixpkgs_8",
|
"nixpkgs": "nixpkgs_8",
|
||||||
"nixpkgs-small": "nixpkgs-small",
|
"nixpkgs-small": "nixpkgs-small",
|
||||||
"nur": "nur",
|
|
||||||
"systems": "systems_5",
|
"systems": "systems_5",
|
||||||
"tuirun": "tuirun",
|
"tuirun": "tuirun",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
@@ -1275,11 +1259,11 @@
|
|||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729845655,
|
"lastModified": 1729923686,
|
||||||
"narHash": "sha256-6I3gJLnOLnUIWFUlEnvC0FdzX8Xwu+y3Vo0q4VB6Wbk=",
|
"narHash": "sha256-Tc+5E/UmjpXlYGQQ6X2nGDv6J6VQgZ+pVOJLcNCIVQc=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "f4466718b838de706d74e2c13f20a41c034d87a5",
|
"rev": "26d2fbaef2d68a2fccf55d725915188c2634439a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1450,11 +1434,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "packaging/nix",
|
"dir": "packaging/nix",
|
||||||
"lastModified": 1729899621,
|
"lastModified": 1729978972,
|
||||||
"narHash": "sha256-nyGycAl1Dwa1BO1mCN9+TR26jmdheYHUxEQtBEVuLCc=",
|
"narHash": "sha256-Zox0iAi4CRPn4rxrhOetFFZ2jcSipe8tGD8nMTgcjhE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "785bccedbd0e8e9cf5427a511cd935a74d582d06",
|
"rev": "72499f349ca81cb2838eced9d7c465b2cf71c4a2",
|
||||||
"revCount": 824,
|
"revCount": 825,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
||||||
@@ -1514,11 +1498,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729421324,
|
"lastModified": 1730051017,
|
||||||
"narHash": "sha256-uZGVMe9EgSXmiX6WysVt8ooHP+KW2biEmP/lxLMQ7aY=",
|
"narHash": "sha256-7n+4NlrURzLlOhzbYKyXRYjdxBPhVkvuJeAdy8DRuYU=",
|
||||||
"owner": "cnsta",
|
"owner": "cnsta",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "70f6800e45062c93c99118a9010a42adbb63b1f3",
|
"rev": "f51f96f708c8709c96c17994298b5249d70e3780",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -49,8 +49,6 @@
|
|||||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nur.url = "github:nix-community/NUR";
|
|
||||||
|
|
||||||
# Hyprland environment
|
# Hyprland environment
|
||||||
hyprland.url = "github:hyprwm/hyprland";
|
hyprland.url = "github:hyprwm/hyprland";
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
cfg = config.home.programs.firefox;
|
cfg = config.home.programs.firefox;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nur.hmModules.nur
|
# inputs.nur.hmModules.nur
|
||||||
];
|
];
|
||||||
options = {
|
options = {
|
||||||
home.programs.firefox.enable = mkEnableOption "Enables firefox";
|
home.programs.firefox.enable = mkEnableOption "Enables firefox";
|
||||||
@@ -27,15 +27,15 @@ in {
|
|||||||
order = ["DuckDuckGo" "Google"];
|
order = ["DuckDuckGo" "Google"];
|
||||||
};
|
};
|
||||||
bookmarks = {};
|
bookmarks = {};
|
||||||
extensions = with config.nur.repos.rycee.firefox-addons; [
|
# extensions = with config.nur.repos.rycee.firefox-addons; [
|
||||||
ublock-origin
|
# ublock-origin
|
||||||
sponsorblock
|
# sponsorblock
|
||||||
clearurls
|
# clearurls
|
||||||
swedish-dictionary
|
# swedish-dictionary
|
||||||
reddit-enhancement-suite
|
# reddit-enhancement-suite
|
||||||
return-youtube-dislikes
|
# return-youtube-dislikes
|
||||||
enhancer-for-youtube # unfree
|
# enhancer-for-youtube # unfree
|
||||||
];
|
# ];
|
||||||
settings = {
|
settings = {
|
||||||
"apz.overscroll.enabled" = true;
|
"apz.overscroll.enabled" = true;
|
||||||
"browser.aboutConfig.showWarning" = false;
|
"browser.aboutConfig.showWarning" = false;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
./gitsigns.nix
|
./gitsigns.nix
|
||||||
./treesitter.nix
|
./treesitter.nix
|
||||||
./conform.nix
|
./conform.nix
|
||||||
./gx.nix
|
|
||||||
./bqf.nix
|
./bqf.nix
|
||||||
./colorizer.nix
|
./colorizer.nix
|
||||||
./web-devicons.nix
|
./web-devicons.nix
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
{pkgs, ...}: let
|
|
||||||
gx-nvim = pkgs.vimUtils.buildVimPlugin {
|
|
||||||
name = "gx-nvim";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "chrishrb";
|
|
||||||
repo = "gx.nvim";
|
|
||||||
rev = "f29a87454b02880e0d76264c21be8316224a7395";
|
|
||||||
hash = "sha256-QWJ/cPvSyMTJoWLg51BNFf9+/9i7G+nzennpHP/eQ4g=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs.neovim.plugins = [
|
|
||||||
{
|
|
||||||
plugin = gx-nvim;
|
|
||||||
type = "lua";
|
|
||||||
config =
|
|
||||||
/*
|
|
||||||
lua
|
|
||||||
*/
|
|
||||||
''
|
|
||||||
require("gx").setup({})
|
|
||||||
vim.keymap.set({ "n", "x" }, "gx", ":Browse<CR>", {
|
|
||||||
desc = "Open the file under cursor with system app",
|
|
||||||
})
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -37,6 +37,7 @@
|
|||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
|
allow-import-from-derivation = false;
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
flake-registry = "/etc/nix/registry.json";
|
flake-registry = "/etc/nix/registry.json";
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
chromium = {
|
chromium = {
|
||||||
enable = false;
|
enable = true;
|
||||||
};
|
};
|
||||||
discord = {
|
discord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user