flake.nix: remove niko-nur
This commit is contained in:
parent
a4f914ef2b
commit
33d9ec1110
4 changed files with 46 additions and 111 deletions
74
flake.lock
generated
74
flake.lock
generated
|
@ -180,24 +180,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722555600,
|
||||
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_2"
|
||||
|
@ -419,25 +401,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niko-nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1723663703,
|
||||
"narHash": "sha256-ubPcnvjRQCzZgaYTWOKd82xXwJKmOaPjStUOUkyRTSs=",
|
||||
"owner": "nrabulinski",
|
||||
"repo": "nur-packages",
|
||||
"rev": "567fd42dc54f71ce1705180ad7f35f786f00ed9a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nrabulinski",
|
||||
"repo": "nur-packages",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nilla": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -456,11 +419,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1723603349,
|
||||
"narHash": "sha256-VMg6N7MryOuvSJ8Sj6YydarnUCkL7cvMdrMcnsJnJCE=",
|
||||
"lastModified": 1748662220,
|
||||
"narHash": "sha256-7gGa49iB9nCnFk4h/g9zwjlQAyjtpgcFkODjcOQS0Es=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "daf7bb95821b789db24fc1ac21f613db0c1bf2cb",
|
||||
"rev": "59138c7667b7970d205d6a05a8bfa2d78caa3643",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -486,34 +449,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1722555339,
|
||||
"narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1748662220,
|
||||
"narHash": "sha256-7gGa49iB9nCnFk4h/g9zwjlQAyjtpgcFkODjcOQS0Es=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "59138c7667b7970d205d6a05a8bfa2d78caa3643",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"racket": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -549,9 +484,8 @@
|
|||
"lix-module": "lix-module",
|
||||
"mailserver": "mailserver",
|
||||
"nh": "nh",
|
||||
"niko-nur": "niko-nur",
|
||||
"nilla": "nilla",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"racket": "racket",
|
||||
"treefmt": "treefmt",
|
||||
"wrapper-manager": "wrapper-manager",
|
||||
|
|
|
@ -47,9 +47,6 @@
|
|||
url = "gitlab:famedly/conduit?ref=next";
|
||||
flake = false;
|
||||
};
|
||||
niko-nur = {
|
||||
url = "github:nrabulinski/nur-packages";
|
||||
};
|
||||
attic = {
|
||||
url = "git+https://git.lix.systems/nrabulinski/attic.git";
|
||||
flake = false;
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
{
|
||||
_file = ./default.nix;
|
||||
|
||||
imports = [ ./zellij.nix ];
|
||||
imports = [
|
||||
./zellij.nix
|
||||
./qutebrowser.nix
|
||||
];
|
||||
|
||||
options.settei.desktop = {
|
||||
enable = lib.mkEnableOption "Common configuration for desktop machines";
|
||||
|
@ -27,42 +30,5 @@
|
|||
fonts.fontconfig.enable = true;
|
||||
|
||||
programs.firefox.enable = true;
|
||||
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
package =
|
||||
if pkgs.stdenv.isDarwin then inputs'.niko-nur.packages.qutebrowser-bin else pkgs.qutebrowser;
|
||||
searchEngines = {
|
||||
r = "https://doc.rust-lang.org/stable/std/?search={}";
|
||||
lib = "https://lib.rs/search?q={}";
|
||||
nip = "https://jisho.org/search/{}";
|
||||
};
|
||||
settings = {
|
||||
tabs = {
|
||||
indicator.width = 3;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
default_family = "IosevkaTerm Nerd Font";
|
||||
default_size = "13px";
|
||||
};
|
||||
|
||||
content = {
|
||||
canvas_reading = true;
|
||||
blocking.method = "both";
|
||||
javascript.clipboard = "access";
|
||||
};
|
||||
};
|
||||
# Workaround because the nix module doesn't properly handle options that expect a dict
|
||||
extraConfig = ''
|
||||
c.tabs.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||
c.statusbar.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||
'';
|
||||
keyBindings = {
|
||||
passthrough = {
|
||||
"<Ctrl-Escape>" = "mode-leave";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
38
modules/home/desktop/qutebrowser.nix
Normal file
38
modules/home/desktop/qutebrowser.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.qutebrowser = {
|
||||
# TODO: Enable again
|
||||
enable = pkgs.stdenv.isLinux;
|
||||
searchEngines = {
|
||||
r = "https://doc.rust-lang.org/stable/std/?search={}";
|
||||
lib = "https://lib.rs/search?q={}";
|
||||
nip = "https://jisho.org/search/{}";
|
||||
};
|
||||
settings = {
|
||||
tabs = {
|
||||
indicator.width = 3;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
default_family = "IosevkaTerm Nerd Font";
|
||||
default_size = "13px";
|
||||
};
|
||||
|
||||
content = {
|
||||
canvas_reading = true;
|
||||
blocking.method = "both";
|
||||
javascript.clipboard = "access";
|
||||
};
|
||||
};
|
||||
# Workaround because the nix module doesn't properly handle options that expect a dict
|
||||
extraConfig = ''
|
||||
c.tabs.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||
c.statusbar.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||
'';
|
||||
keyBindings = {
|
||||
passthrough = {
|
||||
"<Ctrl-Escape>" = "mode-leave";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue