add flatpak (cloudredirect)

This commit is contained in:
2026-08-03 03:08:05 +02:00
parent 04e42db270
commit 63070a33c4
7 changed files with 64 additions and 20 deletions
Generated
+17
View File
@@ -654,6 +654,22 @@
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1767983141,
"narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "440818969ac2cbd77bfe025e884d0aa528991374",
"type": "github"
},
"original": {
"owner": "gmodena",
"ref": "latest",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1785698632,
@@ -862,6 +878,7 @@
"home-manager": "home-manager",
"hyprsplit": "hyprsplit",
"millennium": "millennium",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs_5",
"nixvim": "nixvim",
"sls-steam": "sls-steam",
+5 -1
View File
@@ -20,6 +20,7 @@
bcdl-free.url = "git+https://git.pizzasucht.net/KeksNino/free-bandcamp-downloader";
nixvim.url = "github:nix-community/nixvim";
hyprsplit.url = "github:shezdy/hyprsplit";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
};
outputs =
@@ -35,13 +36,14 @@
bcdl-free,
nixvim,
hyprsplit,
nix-flatpak,
...
}@inputs:
let
system = "x86_64-linux";
in
{
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
nixosConfigurations.nixos-desktop = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit
sls-steam
@@ -49,6 +51,7 @@
xremap-flake
system
nixvim
nix-flatpak
;
};
modules = [
@@ -56,6 +59,7 @@
./hosts/desktop/hardware-configuration.nix
./modules/common.nix
./modules/desktop/xremap.nix
./modules/desktop/flatpak.nix
home-manager.nixosModules.home-manager
gsr-ui.nixosModules.default
{
+2 -1
View File
@@ -123,10 +123,11 @@ in
virtualisation.docker.enable = true;
services.gvfs.enable = true;
services.goxlr-utility.enable = true;
services.flatpak.enable = true;
services.lact.enable = true;
services.rsync.enable = true;
programs.kdeconnect.enable = true;
# programs.neovim.enable = true;
programs.neovim.enable = true;
programs.tmux.enable = true;
programs.bat.enable = true;
programs.git = {
+24
View File
@@ -0,0 +1,24 @@
{ nix-flatpak, ... }:
{
imports = [
nix-flatpak.nixosModules.nix-flatpak
];
services.flatpak.remotes = [
{
name = "cloudredirect";
location = "https://raw.githubusercontent.com/Selectively11/CloudRedirect/master/flatpak/cloudredirect.flatpakrepo";
}
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
services.flatpak.packages = [
{
appId = "org.cloudredirect.CloudRedirect";
origin = "cloudredirect";
}
];
}
-5
View File
@@ -55,11 +55,6 @@
action = ''"_d'';
key = "d";
}
{
mode = [ "v" ];
action = ''"_p'';
key = "p";
}
{
mode = [ "n" ];
action = "<cmd>Telescope live_grep<CR>";
+3 -1
View File
@@ -5,12 +5,13 @@
nixd = {
enable = true;
config = {
settings = {
nixd = {
nixpkgs = {
expr = ''import (builtins.getFlake "/home/user/nix-config").inputs.nixpkgs { }'';
};
formatting = {
command = "nixfmt";
command = [ "nixfmt" ];
};
options = {
nixos = {
@@ -25,4 +26,5 @@
};
};
};
};
}
+2 -1
View File
@@ -12,7 +12,7 @@
];
programs.nixvim = {
enable = true;
enable = false;
defaultEditor = true;
clipboard.register = "unnamedplus";
@@ -131,6 +131,7 @@
};
};
};
colorizer.enable = true;
};
};