remove rebuild aliases + bottles flatpak perms
This commit is contained in:
@ -78,7 +78,7 @@ rec {
|
|||||||
'';
|
'';
|
||||||
home.file.".local/share/flatpak/overrides/com.usebottles.bottles".text = ''
|
home.file.".local/share/flatpak/overrides/com.usebottles.bottles".text = ''
|
||||||
[Context]
|
[Context]
|
||||||
filesystems=${home.homeDirectory}/.var/app/com.valvesoftware.Steam/data/Steam;${home.homeDirectory}/Downloads
|
filesystems=${home.homeDirectory}/.var/app/com.valvesoftware.Steam/data/Steam;${home.homeDirectory}/Downloads;${home.homeDirectory}/GameSSD;${home.homeDirectory}/GameHDD
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# TODO: Make to a derivation with makeDesktopIcon and add to music module
|
# TODO: Make to a derivation with makeDesktopIcon and add to music module
|
||||||
@ -251,6 +251,7 @@ rec {
|
|||||||
# Flatpak nur.repos.dukzcry.gamescope # We need to install this with flatpak to be able to use with bottles
|
# Flatpak nur.repos.dukzcry.gamescope # We need to install this with flatpak to be able to use with bottles
|
||||||
# Flatpak bottles
|
# Flatpak bottles
|
||||||
# Flatpak steam
|
# Flatpak steam
|
||||||
|
# Flatpak proton-ge
|
||||||
# Flatpak polymc # Use flatpak as it bundles java and I don't have/want system wide java installation
|
# Flatpak polymc # Use flatpak as it bundles java and I don't have/want system wide java installation
|
||||||
# lutris # I don't want to
|
# lutris # I don't want to
|
||||||
];
|
];
|
||||||
@ -282,10 +283,9 @@ rec {
|
|||||||
q = "exit";
|
q = "exit";
|
||||||
h = "history | bat";
|
h = "history | bat";
|
||||||
|
|
||||||
upgrade =
|
# upgrade = "nix flake update && sudo nixos-rebuild build --flake .#nixinator && nvd diff /run/current-system result";
|
||||||
"nix flake update && sudo nixos-rebuild build --flake .#nixinator && nvd diff /run/current-system result";
|
# rebuild = "sudo nixos-rebuild switch --flake .#nixinator";
|
||||||
rebuild = "sudo nixos-rebuild switch --flake .#nixinator";
|
# rebuildfast = "sudo nixos-rebuild switch --fast --flake .#nixinator";
|
||||||
rebuildfast = "sudo nixos-rebuild switch --fast --flake .#nixinator";
|
|
||||||
|
|
||||||
failed = "systemctl --failed";
|
failed = "systemctl --failed";
|
||||||
errors = "journalctl -p 3 -xb";
|
errors = "journalctl -p 3 -xb";
|
||||||
|
43
shell-nixinator-flake.nix
Executable file
43
shell-nixinator-flake.nix
Executable file
@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
description = "BSEos flake for development shell";
|
||||||
|
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
inputs.devshell.url = "github:numtide/devshell";
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs, flake-utils, devshell }:
|
||||||
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true; # For clion
|
||||||
|
overlays = [ devshell.overlay ];
|
||||||
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
devShell = pkgs.devshell.mkShell {
|
||||||
|
name = "NixFlake";
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
jetbrains.clion
|
||||||
|
];
|
||||||
|
commands = [
|
||||||
|
{
|
||||||
|
name = "ide";
|
||||||
|
help = "Run clion for project";
|
||||||
|
command = "clion &>/dev/null ./ &";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "rebuild";
|
||||||
|
help = "Build the configuration and activate the system";
|
||||||
|
command = "sudo nixos-rebuild switch --flake .#nixinator";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "upgrade";
|
||||||
|
help = "Upgrade the flake, rebuild the system and show diff";
|
||||||
|
command = "nix flake update && sudo nixos-rebuild build --flake .#nixinator && nvd diff /run/current-system result";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
Reference in New Issue
Block a user