adding files
This commit is contained in:
205
configuration.nix
Normal file
205
configuration.nix
Normal file
@@ -0,0 +1,205 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./nvidia.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
plymouth = {
|
||||
enable = true;
|
||||
#theme = "bgrt";
|
||||
|
||||
theme = "cross_hud";
|
||||
themePackages = with pkgs; [
|
||||
# By default we would install all themes
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ "cross_hud" ];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
# Enable "Silent boot"
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"udev.log_level=3"
|
||||
"systemd.show_status=auto"
|
||||
];
|
||||
|
||||
loader.timeout = lib.mkForce 5;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "Prometheus";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Budapest";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
#keyMap = "hu";
|
||||
useXkbConfig = true; # use xkb.options in tty.
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users = {
|
||||
typo = {
|
||||
description = "Typo Mustakes";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
home = "/home/typo";
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
#backupFileExtension = "backup";
|
||||
|
||||
users.typo = import ./home.nix;
|
||||
};
|
||||
|
||||
programs = {
|
||||
# firefox.enable = true;
|
||||
steam.enable = true;
|
||||
fish.enable = true;
|
||||
|
||||
# Hyprland
|
||||
hyprland = {
|
||||
enable = true;
|
||||
withUWSM = false;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = with pkgs; pinentry-all;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
systemPackages = with pkgs; [
|
||||
gnupg
|
||||
firefox
|
||||
wget
|
||||
nautilus
|
||||
libwacom
|
||||
];
|
||||
|
||||
gnome.excludePackages = (with pkgs; [
|
||||
atomix
|
||||
epiphany
|
||||
geary
|
||||
hitori
|
||||
iagno
|
||||
]);
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
services = {
|
||||
# Enable the X11 windowing system.
|
||||
xserver.enable = false;
|
||||
|
||||
displayManager = {
|
||||
gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
};
|
||||
};
|
||||
|
||||
desktopManager = {
|
||||
gnome = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable sound.
|
||||
pulseaudio.enable = false;
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
libinput.enable = true;
|
||||
|
||||
emacs.enable = true;
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
# services.xserver.xkb.layout = "us";
|
||||
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
# services.printing.enable = true;
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
# accidentally delete configuration.nix.
|
||||
# system.copySystemConfiguration = true;
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||
#
|
||||
# Most users should NEVER change this value after the initial install, for any reason,
|
||||
# even if you've upgraded your system to a new NixOS release.
|
||||
#
|
||||
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
||||
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
|
||||
# to actually do that.
|
||||
#
|
||||
# This value being lower than the current NixOS release does NOT mean your system is
|
||||
# out of date, out of support, or vulnerable.
|
||||
#
|
||||
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
||||
# and migrated your data accordingly.
|
||||
#
|
||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||
system.stateVersion = "25.11"; # Did you read the comment?
|
||||
}
|
||||
48
flake.lock
generated
Normal file
48
flake.lock
generated
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775598298,
|
||||
"narHash": "sha256-FZRwskiertE+8wgFKjLoc/41UrVqzR2V3QseMBHuo/g=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "98b4d61cfaf825c8b691afae0b6e152f0cc05c86",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1775305101,
|
||||
"narHash": "sha256-/74n1oQPtKG52Yw41cbToxspxHbYz6O3vi+XEw16Qe8=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "36a601196c4ebf49e035270e10b2d103fe39076b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
28
flake.nix
Normal file
28
flake.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }: {
|
||||
nixosConfigurations.Prometheus = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./nvidia.nix
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.typo = import ./home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
41
hardware-configuration.nix
Normal file
41
hardware-configuration.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/22fd3daf-8df7-4f72-a259-f064e4779ee5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/fbd8d4f2-03e9-4e9c-a179-e5ab7586e012";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home/typo/Extended" =
|
||||
{ device = "/dev/disk/by-uuid/a4595c60-5c61-41cd-ac26-9a9316fe688a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/C490-3554";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
211
home.nix
Normal file
211
home.nix
Normal file
@@ -0,0 +1,211 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
];
|
||||
home = {
|
||||
username = "typo";
|
||||
homeDirectory = "/home/typo";
|
||||
stateVersion = "25.11";
|
||||
packages = with pkgs; [
|
||||
lutris
|
||||
bottles
|
||||
wineWow64Packages.stable
|
||||
authenticator
|
||||
adw-gtk3
|
||||
mpv
|
||||
transmission-remote-gtk
|
||||
qbittorrent
|
||||
ranger
|
||||
htop
|
||||
tuba
|
||||
papirus-icon-theme
|
||||
gnome-tweaks
|
||||
discord
|
||||
oh-my-fish
|
||||
monocraft
|
||||
lsd
|
||||
dust
|
||||
bat
|
||||
file
|
||||
addwater
|
||||
swaynotificationcenter
|
||||
pfetch
|
||||
waybar
|
||||
swww
|
||||
fuzzel
|
||||
waypaper
|
||||
hyprlock
|
||||
hypridle
|
||||
hyprsunset
|
||||
hyprpicker
|
||||
hyprshot
|
||||
hyprpolkitagent
|
||||
xdg-desktop-portal-hyprland
|
||||
vscode
|
||||
qtpass
|
||||
rnote
|
||||
fractal
|
||||
tidal-hifi
|
||||
high-tide
|
||||
pass-wayland
|
||||
kitty
|
||||
emacs-nox
|
||||
vim
|
||||
git
|
||||
tree
|
||||
gnome-shell-extensions
|
||||
gnomeExtensions.alphabetical-app-grid
|
||||
gnomeExtensions.blur-my-shell
|
||||
gnomeExtensions.caffeine
|
||||
gnomeExtensions.clipboard-indicator
|
||||
gnomeExtensions.dash-to-dock
|
||||
gnomeExtensions.dash-to-panel
|
||||
gnomeExtensions.desktop-icons-ng-ding
|
||||
gnomeExtensions.gsconnect
|
||||
gnomeExtensions.tiling-shell
|
||||
];
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/wm/keybindings" = {
|
||||
close = lib.hm.gvariant.mkValue ["<Super>q"];
|
||||
};
|
||||
|
||||
"org/gnome/shell" = {
|
||||
favorite-apps = lib.hm.gvariant.mkValue [
|
||||
"firefox.desktop"
|
||||
"org.gnome.Nautilus.desktop"
|
||||
"io.github.nokse22.high-tide.desktop"
|
||||
"org.gnome.Fractal.desktop"
|
||||
"discord.desktop"
|
||||
"emacsclient.desktop"
|
||||
"code.desktop"
|
||||
"com.github.flxzt.rnote.desktop"
|
||||
"org.gnome.Calendar.desktop"
|
||||
"org.gnome.Console.desktop"
|
||||
];
|
||||
|
||||
disabled-extensions = lib.hm.gvariant.mkValue [];
|
||||
|
||||
enabled-extensions = lib.hm.gvariant.mkValue [
|
||||
"AlphabeticalAppGrid@stuarthayhurst"
|
||||
"apps-menu@gnome-shell-extensions.gcampax.github.com"
|
||||
"blur-my-shell@aunetx"
|
||||
"caffeine@patapon.info"
|
||||
"clipboard-indicator@tudmotu.com"
|
||||
"dash-to-panel@jderose9.github.com"
|
||||
"gsconnect@andyholmes.github.io"
|
||||
"status-icons@gnome-shell-extensions.gcampax.github.com"
|
||||
"tilingshell@ferrarodomenico.com"
|
||||
"user-theme@gnome-shell-extensions.gcampax.github.com"
|
||||
];
|
||||
};
|
||||
|
||||
"org/gnome/libgnomekbd/keyboard" = {
|
||||
layouts = "['hu']";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/preferences" = {
|
||||
button-layout = ":minimize,maximize,close";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
icon-theme = "Papirus-Dark";
|
||||
monospace-font-name = "Monocraft 10";
|
||||
document-font-name = "Adwaita Sans 10";
|
||||
font-name = "Adwaita Sans 10";
|
||||
cursor-theme = "breeze_cursors";
|
||||
gtk-theme = "adw-gtk3-dark";
|
||||
};
|
||||
|
||||
"org/gnome/shell/extensions/dash-to-panel" = {
|
||||
animate-appicon-hover=true;
|
||||
animate-appicon-hover-animation-convexity="{\"RIPPLE\": 2.0, \"PLANK\": 1.0, \"SIMPLE\": 0.0}";
|
||||
animate-appicon-hover-animation-extent="{\"RIPPLE\": 4, \"PLANK\": 4, \"SIMPLE\": 1}";
|
||||
animate-appicon-hover-animation-type="SIMPLE";
|
||||
appicon-margin=8;
|
||||
appicon-padding=4;
|
||||
appicon-style="NORMAL";
|
||||
context-menu-entries="[{\"title\":\"Terminal\",\"cmd\":\"TERMINALSETTINGS\"},{\"title\":\"System monitor\",\"cmd\":\"gnome-system-monitor\"},{\"title\":\"Files\",\"cmd\":\"nautilus\"},{\"title\":\"Extensions\",\"cmd\":\"gnome-extensions-app\"}]";
|
||||
dot-position="TOP";
|
||||
dot-style-focused="METRO";
|
||||
extension-version=72;
|
||||
global-border-radius=0;
|
||||
group-apps=true;
|
||||
hide-overview-on-startup=true;
|
||||
highlight-appicon-hover=false;
|
||||
hotkeys-overlay-combo="TEMPORARILY";
|
||||
intellihide=false;
|
||||
isolate-monitors=true;
|
||||
isolate-workspaces=true;
|
||||
overview-click-to-exit=false;
|
||||
panel-anchors="{\"SAM-0x00000000\":\"MIDDLE\"}";
|
||||
panel-element-positions="{\"SAM-0x00000000\":[{\"element\":\"showAppsButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"activitiesButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"leftBox\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"taskbar\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"centerBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"rightBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"dateMenu\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"systemMenu\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"desktopButton\",\"visible\":true,\"position\":\"stackedBR\"}]}";
|
||||
panel-lengths="{\"SAM-0x00000000\":100}";
|
||||
panel-positions="{\"SAM-0x00000000\":\"TOP\"}";
|
||||
panel-side-margins=0;
|
||||
panel-sizes="{\"SAM-0x00000000\":32}";
|
||||
prefs-opened=true;
|
||||
progress-show-count=true;
|
||||
show-apps-icon-file="";
|
||||
show-apps-icon-side-padding=8;
|
||||
show-favorites=true;
|
||||
show-favorites-all-monitors=true;
|
||||
show-running-apps=true;
|
||||
show-showdesktop-hover=true;
|
||||
stockgs-keep-dash=false;
|
||||
stockgs-keep-top-panel=false;
|
||||
stockgs-panelbtn-click-only=false;
|
||||
taskbar-locked=true;
|
||||
trans-bg-color="#000000";
|
||||
trans-dynamic-anim-target=0.8;
|
||||
trans-dynamic-anim-time=300;
|
||||
trans-dynamic-behavior="ALL_WINDOWS";
|
||||
trans-dynamic-distance=1;
|
||||
trans-panel-opacity=0.0;
|
||||
trans-use-custom-bg=true;
|
||||
trans-use-custom-gradient=false;
|
||||
trans-use-custom-opacity=true;
|
||||
trans-use-dynamic-opacity=true;
|
||||
window-preview-title-position="TOP";
|
||||
};
|
||||
|
||||
"org/gnome/shell/extensions/blur-my-shell" = {
|
||||
pipelines = "{\"pipeline_default\": {\"name\": <\"Default\">, \"effects\": <[<{\"type\": <\"native_static_gaussian_blur\">, \"id\": <\"effect_35222615027186\">, \"params\": <{\"unscaled_radius\": <100>, \"brightness\": <0.7>}>}>]>}, \"pipeline_default_rounded\": {\"name\": <\"Default rounded\">, \"effects\": <[<{\"type\": <\"native_static_gaussian_blur\">, \"id\": <\"effect_61989482273055\">, \"params\": <{\"unscaled_radius\": <100>, \"brightness\": <0.7>}>}>, <{\"type\": <\"corner\">, \"id\": <\"effect_88386155746677\">, \"params\": <{\"radius\": <20>, \"corners_bottom\": <true>, \"corners_top\": <true>}>}>]>}}";
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/gtk-3.0/bookmarks".text = ''
|
||||
file:///home/typo/Downloads Downloads
|
||||
file:///home/typo/Documents Documents
|
||||
file:///home/typo/Music Music
|
||||
file:///home/typo/Pictures Pictures
|
||||
ftp://typo@typofelho.ddns.net/ Felhő
|
||||
'';
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
nrs = "sudo nixos-rebuild switch";
|
||||
nrsu = "sudo nixos-rebuild switch --upgrade";
|
||||
nixconf = "sudo vim /etc/nixos/configuration.nix";
|
||||
nixhome = "sudo vim /etc/nixos/home.nix";
|
||||
du = "dust";
|
||||
cat = "bat";
|
||||
ls = "lsd";
|
||||
vi = "vim";
|
||||
};
|
||||
shellInit = "pfetch";
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.plugins = with pkgs.hyprlandPlugins; [
|
||||
hyprexpo
|
||||
hyprbars
|
||||
hyprwinwrap
|
||||
overview
|
||||
hyprscrolling
|
||||
imgborders
|
||||
];
|
||||
}
|
||||
253
hyprland.nix
Normal file
253
hyprland.nix
Normal file
@@ -0,0 +1,253 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
theme = "dark";
|
||||
in
|
||||
{
|
||||
##########
|
||||
# FUZZEL #
|
||||
##########
|
||||
home.file.".config/fuzzel/fuzzel_dark.ini".text = ''
|
||||
# output=<not set>
|
||||
font=Monocraft
|
||||
# dpi-aware=auto
|
||||
# use-bold=no
|
||||
# prompt="> "
|
||||
placeholder=Start typing...
|
||||
icon-theme=Papirus-Dark
|
||||
icons-enabled=no
|
||||
# hide-before-typing=no
|
||||
# fields=filename,name,generic
|
||||
# password-character=*
|
||||
# filter-desktop=no
|
||||
# match-mode=fzf
|
||||
# sort-result=yes
|
||||
match-counter=yes
|
||||
# delayed-filter-ms=300
|
||||
# delayed-filter-limit=20000
|
||||
# show-actions=no
|
||||
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
|
||||
# launch-prefix=<not set>
|
||||
# list-executables-in-path=no
|
||||
|
||||
anchor=top
|
||||
# x-margin=0
|
||||
# y-margin=0
|
||||
# lines=15
|
||||
width=50
|
||||
# tabs=8
|
||||
# horizontal-pad=40
|
||||
# vertical-pad=8
|
||||
# inner-pad=0
|
||||
|
||||
# image-size-ratio=0.5
|
||||
|
||||
# line-height=<use font metrics>
|
||||
line-height=25
|
||||
# letter-spacing=0
|
||||
|
||||
# layer=overlay
|
||||
# keyboard-focus=on-demand
|
||||
# exit-on-keyboard-focus-loss=yes
|
||||
|
||||
# cache=<not set>
|
||||
|
||||
# render-workers=<number of logical CPUs>
|
||||
# match-workers=<number of logical CPUs>
|
||||
|
||||
[colors]
|
||||
background=282828FF
|
||||
text=9EA0A1FF
|
||||
prompt=9EA0A1FF
|
||||
input=9EA0A1FF
|
||||
placeholder=9EA0A1FF
|
||||
# match=cb4b16ff
|
||||
selection=458588FF
|
||||
selection-text=A2BDBBFF
|
||||
# selection-match=cb4b16ff
|
||||
counter=9EA0A1FF
|
||||
border=3C3836FF
|
||||
|
||||
[border]
|
||||
width=2
|
||||
radius=0
|
||||
|
||||
[dmenu]
|
||||
# mode=text # text|index
|
||||
# exit-immediately-if-empty=no
|
||||
|
||||
[key-bindings]
|
||||
# cancel=Escape Control+g Control+c Control+bracketleft
|
||||
# execute=Return KP_Enter Control+y
|
||||
# execute-or-next=Tab
|
||||
# execute-input=Shift+Return Shift+KP_Enter
|
||||
# cursor-left=Left Control+b
|
||||
# cursor-left-word=Control+Left Mod1+b
|
||||
# cursor-right=Right Control+f
|
||||
# cursor-right-word=Control+Right Mod1+f
|
||||
# cursor-home=Home Control+a
|
||||
# cursor-end=End Control+e
|
||||
# delete-prev=BackSpace Control+h
|
||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
||||
# delete-line-backward=Control+u
|
||||
# delete-next=Delete KP_Delete Control+d
|
||||
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
||||
# delete-line-forward=Control+k
|
||||
# prev=Up Control+p
|
||||
# prev-with-wrap=ISO_Left_Tab
|
||||
# prev-page=Page_Up KP_Page_Up
|
||||
# next=Down Control+n
|
||||
# next-with-wrap=none
|
||||
# next-page=Page_Down KP_Page_Down
|
||||
# expunge=Shift+Delete
|
||||
# clipboard-paste=Control+v XF86Paste
|
||||
# primary-paste=Shift+Insert Shift+KP_Insert
|
||||
|
||||
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
||||
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
||||
# with 12, and so on.
|
||||
|
||||
# custom-1=Mod1+1
|
||||
# custom-2=Mod1+2
|
||||
# custom-3=Mod1+3
|
||||
# custom-4=Mod1+4
|
||||
# custom-5=Mod1+5
|
||||
# custom-6=Mod1+6
|
||||
# custom-7=Mod1+7
|
||||
# custom-8=Mod1+8
|
||||
# custom-9=Mod1+9
|
||||
# custom-10=Mod1+0
|
||||
# custom-11=Mod1+exclam
|
||||
# custom-12=Mod1+at
|
||||
# custom-13=Mod1+numbersign
|
||||
# custom-14=Mod1+dollar
|
||||
# custom-15=Mod1+percent
|
||||
# custom-16=Mod1+dead_circumflex
|
||||
# custom-17=Mod1+ampersand
|
||||
# custom-18=Mod1+asterix
|
||||
# custom-19=Mod1+parentleft
|
||||
'';
|
||||
|
||||
home.file.".config/fuzzel/fuzzel_light.ini".text = ''
|
||||
# output=<not set>
|
||||
font=Monocraft
|
||||
# dpi-aware=auto
|
||||
# use-bold=no
|
||||
# prompt="> "
|
||||
placeholder=Start typing...
|
||||
icon-theme=Papirus-Dark
|
||||
icons-enabled=no
|
||||
# hide-before-typing=no
|
||||
# fields=filename,name,generic
|
||||
# password-character=*
|
||||
# filter-desktop=no
|
||||
# match-mode=fzf
|
||||
# sort-result=yes
|
||||
match-counter=yes
|
||||
# delayed-filter-ms=300
|
||||
# delayed-filter-limit=20000
|
||||
# show-actions=no
|
||||
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
|
||||
# launch-prefix=<not set>
|
||||
# list-executables-in-path=no
|
||||
|
||||
anchor=top
|
||||
# x-margin=0
|
||||
# y-margin=0
|
||||
# lines=15
|
||||
width=50
|
||||
# tabs=8
|
||||
# horizontal-pad=40
|
||||
# vertical-pad=8
|
||||
# inner-pad=0
|
||||
|
||||
# image-size-ratio=0.5
|
||||
|
||||
# line-height=<use font metrics>
|
||||
line-height=25
|
||||
# letter-spacing=0
|
||||
|
||||
# layer=overlay
|
||||
# keyboard-focus=on-demand
|
||||
# exit-on-keyboard-focus-loss=yes
|
||||
|
||||
# cache=<not set>
|
||||
|
||||
# render-workers=<number of logical CPUs>
|
||||
# match-workers=<number of logical CPUs>
|
||||
|
||||
[colors]
|
||||
background=EBDBB2FF
|
||||
text=72654FFF
|
||||
prompt=72654FFF
|
||||
input=72654FFF
|
||||
placeholder=72654FFF
|
||||
# match=cb4b16ff
|
||||
selection=076678FF
|
||||
selection-text=84ADB2FF
|
||||
# selection-match=cb4b16ff
|
||||
counter=72654FFF
|
||||
border=D5C4A1FF
|
||||
|
||||
[border]
|
||||
width=2
|
||||
radius=0
|
||||
|
||||
[dmenu]
|
||||
# mode=text # text|index
|
||||
# exit-immediately-if-empty=no
|
||||
|
||||
[key-bindings]
|
||||
# cancel=Escape Control+g Control+c Control+bracketleft
|
||||
# execute=Return KP_Enter Control+y
|
||||
# execute-or-next=Tab
|
||||
# execute-input=Shift+Return Shift+KP_Enter
|
||||
# cursor-left=Left Control+b
|
||||
# cursor-left-word=Control+Left Mod1+b
|
||||
# cursor-right=Right Control+f
|
||||
# cursor-right-word=Control+Right Mod1+f
|
||||
# cursor-home=Home Control+a
|
||||
# cursor-end=End Control+e
|
||||
# delete-prev=BackSpace Control+h
|
||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
|
||||
# delete-line-backward=Control+u
|
||||
# delete-next=Delete KP_Delete Control+d
|
||||
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
|
||||
# delete-line-forward=Control+k
|
||||
# prev=Up Control+p
|
||||
# prev-with-wrap=ISO_Left_Tab
|
||||
# prev-page=Page_Up KP_Page_Up
|
||||
# next=Down Control+n
|
||||
# next-with-wrap=none
|
||||
# next-page=Page_Down KP_Page_Down
|
||||
# expunge=Shift+Delete
|
||||
# clipboard-paste=Control+v XF86Paste
|
||||
# primary-paste=Shift+Insert Shift+KP_Insert
|
||||
|
||||
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
|
||||
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
|
||||
# with 12, and so on.
|
||||
|
||||
# custom-1=Mod1+1
|
||||
# custom-2=Mod1+2
|
||||
# custom-3=Mod1+3
|
||||
# custom-4=Mod1+4
|
||||
# custom-5=Mod1+5
|
||||
# custom-6=Mod1+6
|
||||
# custom-7=Mod1+7
|
||||
# custom-8=Mod1+8
|
||||
# custom-9=Mod1+9
|
||||
# custom-10=Mod1+0
|
||||
# custom-11=Mod1+exclam
|
||||
# custom-12=Mod1+at
|
||||
# custom-13=Mod1+numbersign
|
||||
# custom-14=Mod1+dollar
|
||||
# custom-15=Mod1+percent
|
||||
# custom-16=Mod1+dead_circumflex
|
||||
# custom-17=Mod1+ampersand
|
||||
# custom-18=Mod1+asterix
|
||||
# custom-19=Mod1+parentleft
|
||||
'';
|
||||
|
||||
home.file.".config/fuzzel/fuzzel.ini".source = config.home.file.".config/fuzzel/fuzzel_${theme}.ini".source;
|
||||
}
|
||||
18
nvidia.nix
Normal file
18
nvidia.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
# Enable OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
nvidiaSettings = false;
|
||||
open = false;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user