-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.nix
More file actions
102 lines (85 loc) · 1.93 KB
/
Copy pathconfiguration.nix
File metadata and controls
102 lines (85 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "penetration";
networking.networkmanager.enable = true;
time.timeZone = "Asia/Nicosia";
users.users.mh3th = {
isNormalUser = true;
home = "/home/mh3th";
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.fish;
};
environment.systemPackages = with pkgs; [
pkgs.git
pkgs.kitty
pkgs.htop
pkgs.firefox
pkgs.home-manager
pkgs.fastfetch
pkgs.fasd
pkgs.pavucontrol
pkgs.rofi-wayland
pkgs.ripgrep
pkgs.bat
pkgs.broot
pkgs.fd
pkgs.gcc
pkgs.cargo
pkgs.rustc
pkgs.pnpm
pkgs.nodejs
];
system.stateVersion = "24.05";
hardware.opengl.enable = true;
#hardware.bluetooth.enable = true;
#hardware.bluetooth.powerOnBoot = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.xserver = {
videoDrivers = ["nvidia"];
};
hardware.nvidia = {
modesetting.enable = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production;
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
powerManagement.finegrained = true;
};
nixpkgs.config.allowUnfree = true;
programs.hyprland.enable = true;
programs.fish.enable = true;
programs.waybar.enable = true;
fonts.packages = with pkgs; [
jetbrains-mono
noto-fonts
noto-fonts-emoji
twemoji-color-font
font-awesome
powerline-fonts
powerline-symbols
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
dejavu_fonts
noto-fonts-cjk
];
nix = {
package = pkgs.nixFlakes;
settings.experimental-features = [ "nix-command" "flakes" ];
};
}