remove wine; use steam instead
This commit is contained in:
parent
3f8470342e
commit
152ac1afd0
3 changed files with 35 additions and 13 deletions
|
@ -15,9 +15,13 @@ in
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
substituters = ["https://nix-community.cachix.org"];
|
substituters = [
|
||||||
|
"https://nix-community.cachix.org"
|
||||||
|
"https://lean4.cachix.org"
|
||||||
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"lean4.cachix.org-1:mawtxSxcaiWE24xCXXgh3qnvlTkyU7evRRnGeAhD4Wk="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -96,6 +100,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -125,13 +131,21 @@ in
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
# If you want to use JACK applications, uncomment this
|
# If you want to use JACK applications, uncomment this
|
||||||
#jack.enable = true;
|
jack.enable = false;
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
# no need to redefine it in your config for now)
|
# no need to redefine it in your config for now)
|
||||||
#media-session.enable = true;
|
#media-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"text/html" = "org.mozilla.firefox.desktop";
|
||||||
|
"x-scheme-handler/http" = "org.mozilla.firefox.desktop";
|
||||||
|
"x-scheme-handler/https" = "org.mozilla.firefox.desktop";
|
||||||
|
"x-scheme-handler/about" = "org.mozilla.firefox.desktop";
|
||||||
|
"x-scheme-handler/unknown" = "org.mozilla.firefox.desktop";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
|
@ -168,6 +182,9 @@ in
|
||||||
|
|
||||||
# Allow unfree packages (sorry)
|
# Allow unfree packages (sorry)
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"electron-22.3.27"
|
||||||
|
];
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
|
@ -182,10 +199,10 @@ in
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
# programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
# };
|
};
|
||||||
|
|
||||||
environment.variables.EDITOR = "nvim";
|
environment.variables.EDITOR = "nvim";
|
||||||
environment.variables.SHELL = "fish";
|
environment.variables.SHELL = "fish";
|
||||||
|
|
|
@ -238,11 +238,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693780807,
|
"lastModified": 1699343069,
|
||||||
"narHash": "sha256-diV1X53HjSB3fIcDFieh9tGZkJ3vqJJQhTz89NbYw60=",
|
"narHash": "sha256-s7BBhyLA6MI6FuJgs4F/SgpntHBzz40/qV0xLPW6A1Q=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "84ef5335abf541d8148433489e0cf79affae3f89",
|
"rev": "ec750fd01963ab6b20ee1f0cb488754e8036d89d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
13
home.nix
13
home.nix
|
@ -29,7 +29,7 @@ in
|
||||||
# foliate
|
# foliate
|
||||||
# thunderbird
|
# thunderbird
|
||||||
starship
|
starship
|
||||||
exa
|
eza
|
||||||
dmenu
|
dmenu
|
||||||
xsel
|
xsel
|
||||||
manix
|
manix
|
||||||
|
@ -57,6 +57,10 @@ in
|
||||||
|
|
||||||
discord
|
discord
|
||||||
steam
|
steam
|
||||||
|
rare
|
||||||
|
# drm more like pooprm
|
||||||
|
# might as well use a newer version
|
||||||
|
#(itch.override {electron_11 = electron_22;})
|
||||||
|
|
||||||
fzf
|
fzf
|
||||||
kolourpaint
|
kolourpaint
|
||||||
|
@ -82,8 +86,8 @@ in
|
||||||
mpv
|
mpv
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
|
||||||
# i only need one font :[
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
nerdfonts
|
#monaspace
|
||||||
# glow and gum are a good example of something that should really be in a flake.nix or whatever
|
# glow and gum are a good example of something that should really be in a flake.nix or whatever
|
||||||
] ++ more-packages;
|
] ++ more-packages;
|
||||||
|
|
||||||
|
@ -279,8 +283,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.emacs.client.enable = true;
|
# services.emacs.client.enable = true;
|
||||||
|
# not working right now
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = pkgs.emacs29;
|
package = pkgs.emacs29;
|
||||||
extraPackages = epkgs: with epkgs; [
|
extraPackages = epkgs: with epkgs; [
|
||||||
which-key
|
which-key
|
||||||
|
|
Loading…
Reference in a new issue