remove unstable

This commit is contained in:
Leonardo Eugênio 2023-07-27 01:20:31 -03:00
parent 82fb005bc1
commit 05e598acf0
11 changed files with 7 additions and 115 deletions

View file

@ -54,22 +54,6 @@
"type": "github" "type": "github"
} }
}, },
"alacritty-sixel": {
"flake": false,
"locked": {
"lastModified": 1677700854,
"narHash": "sha256-qYc1Yz6+dKEK87VcouYP5IYa0tqk54DcCgveCsV/c6I=",
"owner": "ayosec",
"repo": "alacritty",
"rev": "713c5415262ab091a645f976907dacaf40703ae8",
"type": "github"
},
"original": {
"owner": "ayosec",
"repo": "alacritty",
"type": "github"
}
},
"crane": { "crane": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -445,7 +429,7 @@
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols", "hyprland-protocols": "hyprland-protocols",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-unstable" "nixpkgs"
], ],
"wlroots": "wlroots", "wlroots": "wlroots",
"xdph": "xdph" "xdph": "xdph"
@ -614,21 +598,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": {
"locked": {
"lastModified": 1689444953,
"narHash": "sha256-0o56bfb2LC38wrinPdCGLDScd77LVcr7CrH1zK7qvDg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8acef304efe70152463a6399f73e636bcc363813",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1673796341, "lastModified": 1673796341,
@ -707,27 +676,9 @@
"type": "github" "type": "github"
} }
}, },
"ranger-sixel": {
"flake": false,
"locked": {
"lastModified": 1681665489,
"narHash": "sha256-NJKjj+jmaHnauA6qCEGu9N+EPqfcoL0jF1PotGZ/kDc=",
"owner": "remi6397",
"repo": "ranger",
"rev": "0283f4c2c6c0abae7f1279d3cc0b6e7bf313134e",
"type": "github"
},
"original": {
"owner": "remi6397",
"ref": "feature/sixel",
"repo": "ranger",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"alacritty-sixel": "alacritty-sixel",
"demoji": "demoji", "demoji": "demoji",
"dhist": "dhist", "dhist": "dhist",
"dzgui-nix": "dzgui-nix", "dzgui-nix": "dzgui-nix",
@ -740,11 +691,9 @@
"nix-software-center": "nix-software-center", "nix-software-center": "nix-software-center",
"nixos-conf-editor": "nixos-conf-editor", "nixos-conf-editor": "nixos-conf-editor",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur", "nur": "nur",
"plymouth-themes": "plymouth-themes", "plymouth-themes": "plymouth-themes",
"ranger-icons": "ranger-icons", "ranger-icons": "ranger-icons",
"ranger-sixel": "ranger-sixel",
"tlauncher": "tlauncher", "tlauncher": "tlauncher",
"wl-crosshair": "wl-crosshair" "wl-crosshair": "wl-crosshair"
} }

View file

@ -2,7 +2,6 @@
description = "My system config"; description = "My system config";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05"; nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
@ -14,15 +13,9 @@
hyprland = { hyprland = {
url = "github:hyprwm/Hyprland"; url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
alacritty-sixel.url = "github:ayosec/alacritty";
alacritty-sixel.flake = false;
ranger-sixel.url = "github:remi6397/ranger/feature/sixel";
ranger-sixel.flake = false;
ranger-icons.url = "github:alexanderjeurissen/ranger_devicons"; ranger-icons.url = "github:alexanderjeurissen/ranger_devicons";
ranger-icons.flake = false; ranger-icons.flake = false;
@ -72,7 +65,7 @@
nixos-conf-editor.url = "github:vlinkz/nixos-conf-editor"; nixos-conf-editor.url = "github:vlinkz/nixos-conf-editor";
nix-software-center.url = "github:vlinkz/nix-software-center"; nix-software-center.url = "github:vlinkz/nix-software-center";
}; };
outputs = inputs@{ nixpkgs, nixpkgs-unstable, home-manager, nur, ... }: outputs = inputs@{ nixpkgs, home-manager, nur, ... }:
let let
inherit (import ./user/variables.nix) desktop; inherit (import ./user/variables.nix) desktop;
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -33,12 +33,6 @@ in
programs.corectrl.enable = true; programs.corectrl.enable = true;
# hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
# # For 32 bit applications
# # Only available on unstable
# hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
# environment.variables = { AMD_VULKAN_ICD = "RADV"; };
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-label/BTRFS_ROOT"; device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs"; fsType = "btrfs";

View file

@ -3,8 +3,6 @@
nur nur
scripts scripts
sway sway
unstable
sixel-patches
themes themes
new-packages new-packages
patches patches
@ -17,14 +15,6 @@
sway = (import ./sway.nix); sway = (import ./sway.nix);
unstable = (final: prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (prev) system config;
};
});
sixel-patches = (import ./sixel-patches.nix (inputs));
themes = (final: prev: { themes = (final: prev: {
material-wifi-icons = final.stdenv.mkDerivation rec { material-wifi-icons = final.stdenv.mkDerivation rec {
name = "material-wifi-icons"; name = "material-wifi-icons";
@ -33,7 +23,7 @@
install -D material-wifi.ttf $out/share/fonts/${name} install -D material-wifi.ttf $out/share/fonts/${name}
''; '';
}; };
papirus_red = (final.unstable.papirus-icon-theme.override { color = "red"; }); papirus_red = (final.papirus-icon-theme.override { color = "red"; });
orchis_theme_compact = (final.orchis-theme.override { orchis_theme_compact = (final.orchis-theme.override {
border-radius = 0; border-radius = 0;
tweaks = [ "compact" "solid" ]; tweaks = [ "compact" "solid" ];
@ -51,10 +41,9 @@
maildir-notify-daemon = inputs.maildir-notify-daemon.packages.${prev.system}.default; maildir-notify-daemon = inputs.maildir-notify-daemon.packages.${prev.system}.default;
wl-crosshair = inputs.wl-crosshair.packages.${prev.system}.default; wl-crosshair = inputs.wl-crosshair.packages.${prev.system}.default;
webcord = (prev.webcord or prev.unstable.webcord).overrideAttrs (old: { webcord = prev.webcord.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ../patches/webcord/fix-reading-config.patch ]; patches = (old.patches or [ ]) ++ [ ../patches/webcord/fix-reading-config.patch ];
}); });
mullvad = final.unstable.mullvad;
}); });
patches = (final: prev: { patches = (final: prev: {
@ -68,15 +57,6 @@
patches = old.patches patches = old.patches
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ]; ++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
}); });
qutebrowser = prev.qutebrowser.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "pinusc";
repo = "qutebrowser";
rev = "feature/tree-tabs";
sha256 = "sha256-4WgO/xS/vg3sJAWjIGcQqHmA0O7rzTy7cGtBT8H+Q0o=";
};
});
}); });
variables = (final: prev: { variables = (final: prev: {

View file

@ -1,16 +0,0 @@
inputs: (final: prev: {
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
src = inputs.alacritty-sixel;
cargoDeps = old-alacritty.cargoDeps.overrideAttrs (prev.lib.const {
inherit src;
outputHash = "sha256-W3RKvIAhE8+4srSx7jVfMFU/vNcky9Rs6e6uHhxw2WE=";
});
}));
ranger = (prev.ranger.overridePythonAttrs (old-ranger: rec {
src = inputs.ranger-sixel;
checkInputs = [ ];
propagatedBuildInputs = with prev.python3Packages;
old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ];
}));
})

View file

@ -12,7 +12,7 @@ in {
obs-studio obs-studio
imagemagick imagemagick
mpc-cli mpc-cli
pkgs.unstable.helvum helvum
gimp gimp
inkscape inkscape
kdenlive kdenlive

View file

@ -46,9 +46,6 @@
. ${pkgs.nix}/etc/profile.d/nix.sh . ${pkgs.nix}/etc/profile.d/nix.sh
${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [ nix cacert git openssh ])} ${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [ nix cacert git openssh ])}
${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixpkgs-unstable
${pkgs.nix}/bin/nix-channel --update nixpkgs
''; '';
environmentVariables = { environmentVariables = {
ENV = "/etc/profile"; ENV = "/etc/profile";

View file

@ -25,7 +25,6 @@
"wegank.cachix.org-1:xHignps7GtkPP/gYK5LvA/6UFyz98+sgaxBSy7qK0Vs=" "wegank.cachix.org-1:xHignps7GtkPP/gYK5LvA/6UFyz98+sgaxBSy7qK0Vs="
]; ];
}; };
package = pkgs.unstable.nixFlakes; # or versioned attributes like nixVersions.nix_2_8
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';

View file

@ -46,9 +46,6 @@
. ${pkgs.nix}/etc/profile.d/nix.sh . ${pkgs.nix}/etc/profile.d/nix.sh
${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [ nix cacert git openssh ])} ${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [ nix cacert git openssh ])}
${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixpkgs-unstable
${pkgs.nix}/bin/nix-channel --update nixpkgs
''; '';
environmentVariables = { environmentVariables = {
ENV = "/etc/profile"; ENV = "/etc/profile";

View file

@ -7,7 +7,6 @@ in
config = { config = {
programs.helix = { programs.helix = {
enable = true; enable = true;
package = pkgs.unstable.helix;
settings = { settings = {
theme = "my-theme"; theme = "my-theme";
editor = { editor = {

View file

@ -83,7 +83,7 @@
# steam # It's enabled in the system config # steam # It's enabled in the system config
tlauncher tlauncher
gamescope gamescope
unstable.amdgpu_top amdgpu_top
glxinfo glxinfo
vulkan-tools vulkan-tools