Adding flatpak support
This commit is contained in:
parent
bda83fc5d0
commit
8475ddf66b
3 changed files with 26 additions and 3 deletions
|
|
@ -6,9 +6,10 @@
|
|||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixos-hardware, ... }@attrs: {
|
||||
outputs = { self, nixpkgs, nixos-hardware, nix-flatpak, ... }@attrs: {
|
||||
nixosConfigurations.lyes-nix = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
|
|
@ -16,6 +17,7 @@
|
|||
./configuration.nix
|
||||
./hardware/x1-extreme-gen4.nix
|
||||
nixos-hardware.nixosModules.lenovo-thinkpad-x1-extreme-gen4
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -22,4 +22,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Protonup config
|
||||
home.sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
|
||||
"\${HOME}/.steam/root/compatibilitytools.d";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
tex = (pkgs.texlive.combine { inherit (pkgs.texlive)
|
||||
|
|
@ -28,7 +28,6 @@ in {
|
|||
|
||||
# Games
|
||||
# citra-canary
|
||||
steam
|
||||
minecraft
|
||||
vvvvvv
|
||||
|
||||
|
|
@ -48,6 +47,7 @@ in {
|
|||
|
||||
# Programming
|
||||
git
|
||||
git-lfs
|
||||
vscode
|
||||
ocaml
|
||||
ledit
|
||||
|
|
@ -68,4 +68,19 @@ in {
|
|||
pulseaudio
|
||||
libopus
|
||||
];
|
||||
|
||||
# Flatpaks
|
||||
services.flatpak.remotes = lib.mkOptionDefault [{
|
||||
name = "gnome-nightly";
|
||||
location = "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
|
||||
}];
|
||||
|
||||
services.flatpak.packages = [
|
||||
"com.github.muriloventuroso.pdftricks"
|
||||
"app.drey.Damask"
|
||||
"dev.tchx84.Gameeky"
|
||||
"dev.tchx84.Gameeky.FreedomValley"
|
||||
"dev.tchx84.Gameeky.Blasterman"
|
||||
"dev.tchx84.Gameeky.Wackman"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue