Compare commits
2 Commits
12222f26b3
...
c457bb31df
| Author | SHA1 | Date | |
|---|---|---|---|
| c457bb31df | |||
| 52789be32d |
@ -10,7 +10,7 @@ general {
|
|||||||
|
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/foglar/
|
path = /home/foglar/mysystem/nixos/aurora_borealis.png
|
||||||
color = rgba(25, 20, 20, 1.0)
|
color = rgba(25, 20, 20, 1.0)
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ inputs, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
inputs,
|
||||||
[ # Include the results of the hardware scan.
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
@ -142,6 +144,24 @@
|
|||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
|
||||||
|
programs.proxychains = {
|
||||||
|
enable = true;
|
||||||
|
chain.type = "dynamic";
|
||||||
|
proxies = {
|
||||||
|
tor-proxy = {
|
||||||
|
enable = true;
|
||||||
|
type = "socks5";
|
||||||
|
host = "127.0.0.1";
|
||||||
|
port = 9050;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.tor = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
services.tor.client.enable = true;
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
@ -156,7 +176,6 @@
|
|||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|
||||||
# Modesetting is required.
|
# Modesetting is required.
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
||||||
@ -194,7 +213,6 @@
|
|||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
@ -278,5 +296,4 @@
|
|||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "24.05"; # Did you read the comment?
|
system.stateVersion = "24.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,6 +38,9 @@
|
|||||||
"[json]" = {
|
"[json]" = {
|
||||||
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
||||||
};
|
};
|
||||||
|
"[python]" = {
|
||||||
|
"editor.defaultFormatter" = "ms-python.black-formatter";
|
||||||
|
};
|
||||||
"nix.serverPath" = "nixd";
|
"nix.serverPath" = "nixd";
|
||||||
"nix.enableLanguageServer" = true;
|
"nix.enableLanguageServer" = true;
|
||||||
"nix.serverSettings" = {
|
"nix.serverSettings" = {
|
||||||
|
|||||||
@ -1,23 +0,0 @@
|
|||||||
{ pkgs ? import
|
|
||||||
(builtins.fetchTarball {
|
|
||||||
name = "nixpkgs-unstable-20241009165118";
|
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/5633bcff0c6162b9e4b5f1264264611e950c8ec7.tar.gz";
|
|
||||||
sha256 = "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=";
|
|
||||||
})
|
|
||||||
{ }
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (pkgs) buildFHSUserEnv;
|
|
||||||
in
|
|
||||||
buildFHSUserEnv {
|
|
||||||
name = "launcher-fhs";
|
|
||||||
targetPkgs = p: with p; [
|
|
||||||
glib.out
|
|
||||||
gtk3.out
|
|
||||||
libgcc.lib
|
|
||||||
xorg.libX11.out
|
|
||||||
xorg.libXrandr.out
|
|
||||||
];
|
|
||||||
runScript = "/home/foglar/Downloads/WarThunder/launcher";
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user