mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-19 11:34:07 +02:00
clean up
This commit is contained in:
parent
4783db68ff
commit
7c10990c19
7 changed files with 20 additions and 42 deletions
17
flake.lock
generated
17
flake.lock
generated
|
@ -510,22 +510,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"openrgb": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1708099263,
|
||||
"narHash": "sha256-XvrmeDyLH6ZZfxi0dHb7fUZYWxRy1aM2QSgCP5O7X2c=",
|
||||
"owner": "CalcProgrammer1",
|
||||
"repo": "OpenRGB",
|
||||
"rev": "4134de5daf77f3e6b87e3014f55f5d81607aeac1",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"owner": "CalcProgrammer1",
|
||||
"repo": "OpenRGB",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"pre-commit-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
|
@ -636,7 +620,6 @@
|
|||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-lib": "nixpkgs-lib",
|
||||
"openrgb": "openrgb",
|
||||
"pre-commit-hooks": "pre-commit-hooks_2",
|
||||
"prismlauncher": "prismlauncher",
|
||||
"srvos": "srvos",
|
||||
|
|
|
@ -42,10 +42,6 @@
|
|||
url = "github:vinceliuice/Tela-icon-theme";
|
||||
flake = false;
|
||||
};
|
||||
openrgb = {
|
||||
url = "gitlab:CalcProgrammer1/OpenRGB";
|
||||
flake = false;
|
||||
};
|
||||
nether = {
|
||||
url = "github:Lassulus/nether";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
src = inputs.tela-icon-theme;
|
||||
};
|
||||
|
||||
openrgb-git = pkgs.openrgb.overrideAttrs {
|
||||
src = inputs.openrgb;
|
||||
};
|
||||
|
||||
libadwaita-follow-theme = pkgs.libadwaita.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [ ./adwaita-theming-support.patch ];
|
||||
doCheck = false;
|
||||
|
|
|
@ -111,15 +111,7 @@
|
|||
xwayland.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
gamemode.enable = true;
|
||||
};
|
||||
|
||||
boot.binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
appimage.enable = true; # Not upstream jet
|
||||
};
|
||||
|
||||
nix.settings.system-features = [ "gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test" ]
|
||||
|
|
19
upstream/modules/appimage/default.nix
Normal file
19
upstream/modules/appimage/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let cfg = config.programs.appimage;
|
||||
in {
|
||||
options.programs.appimage = {
|
||||
enable = lib.mkEnableOption "Enable AppImage Support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot.binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,6 +2,5 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./sshfs
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkIf (lib.any (fs: fs == "sshfs" || fs == "fuse.sshfs") config.boot.supportedFilesystems) {
|
||||
system.fsPackages = [ pkgs.sshfs ];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue