-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
98 lines (86 loc) · 2.05 KB
/
configuration.nix
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
98
# Your NixOS configuration. Here's the structure:
{pkgs, ...}: {
imports = [
./hardware
./network.nix
./boot
./graphics
./network
./virtualisation
./services
./security
./programs
];
appstream.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Set your time zone.
time.timeZone = "Europe/Moscow";
nixpkgs.config = {
allowUnfree = true;
};
programs.seahorse.enable = true;
services.ollama = {
enable = true;
acceleration = "cuda";
};
services.pipewire = {
enable = true;
pulse.enable = true;
jack.enable = true;
};
services.openssh.enable = true;
programs.fish.enable = true;
programs.obs-studio.enable = true;
users.users.Sk7Str1p3 = {
isNormalUser = true;
shell = pkgs.fish;
extraGroups = ["wheel"];
packages = with pkgs; [
kitty
home-manager
];
};
environment.systemPackages = with pkgs; [
wget
libreoffice
fish
ntfs3g
polkit_gnome
nautilus
gparted
nixd
wl-clipboard
sbctl
pkgsi686Linux.gnutls
ripgrep
binutils
cryptsetup
file-roller
sbctl
git
(ventoy.override {
defaultGuiType = "gtk3";
withGtk3 = true;
})
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
services.fwupd.enable = true;
# List services that you want to enable:
# 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.stateVersion = "25.05"; # DO NOOOOOT CHANGE THIS!!!! NEVER!!!!
}