Compare commits
2 Commits
12222f26b3
...
c457bb31df
| Author | SHA1 | Date | |
|---|---|---|---|
| c457bb31df | |||
| 52789be32d |
@ -10,7 +10,7 @@ general {
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = /home/foglar/
|
||||
path = /home/foglar/mysystem/nixos/aurora_borealis.png
|
||||
color = rgba(25, 20, 20, 1.0)
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
|
||||
@ -1,18 +1,20 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ inputs, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {inherit inputs; };
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
backupFileExtension = "backup";
|
||||
users = {
|
||||
foglar = import ./home.nix;
|
||||
@ -45,14 +47,14 @@
|
||||
|
||||
monospace = {
|
||||
name = "JetBrainsMono Nerd Font";
|
||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
networking.hostName = "laptop"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
@ -86,7 +88,7 @@
|
||||
fonts.packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-emoji
|
||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||
monaspace
|
||||
];
|
||||
|
||||
@ -142,6 +144,24 @@
|
||||
virtualisation.libvirtd.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 = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
@ -156,7 +176,6 @@
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
|
||||
# Modesetting is required.
|
||||
modesetting.enable = true;
|
||||
|
||||
@ -194,7 +213,6 @@
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
@ -227,7 +245,7 @@
|
||||
users.users.foglar = {
|
||||
isNormalUser = true;
|
||||
description = "foglar";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
];
|
||||
@ -278,5 +296,4 @@
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
@ -38,6 +38,9 @@
|
||||
"[json]" = {
|
||||
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
||||
};
|
||||
"[python]" = {
|
||||
"editor.defaultFormatter" = "ms-python.black-formatter";
|
||||
};
|
||||
"nix.serverPath" = "nixd";
|
||||
"nix.enableLanguageServer" = true;
|
||||
"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