Amakesh

Untitled

Jan 28th, 2026 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4.  
  5. { config, pkgs, ... }:
  6.  
  7. {
  8. imports =
  9. [ # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. ];
  12.  
  13. # Bootloader.
  14. boot.loader.systemd-boot.enable = true;
  15. boot.loader.efi.canTouchEfiVariables = true;
  16.  
  17. networking.hostName = "nixos"; # Define your hostname.
  18. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  19.  
  20. # Configure network proxy if necessary
  21. # networking.proxy.default = "http://user:password@proxy:port/";
  22. # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
  23.  
  24. # Enable networking
  25. networking.networkmanager.enable = true;
  26.  
  27. # Set your time zone.
  28. time.timeZone = "Europe/Warsaw";
  29.  
  30. # Select internationalisation properties.
  31. i18n.defaultLocale = "pl_PL.UTF-8";
  32.  
  33. i18n.extraLocaleSettings = {
  34. LC_ADDRESS = "pl_PL.UTF-8";
  35. LC_IDENTIFICATION = "pl_PL.UTF-8";
  36. LC_MEASUREMENT = "pl_PL.UTF-8";
  37. LC_MONETARY = "pl_PL.UTF-8";
  38. LC_NAME = "pl_PL.UTF-8";
  39. LC_NUMERIC = "pl_PL.UTF-8";
  40. LC_PAPER = "pl_PL.UTF-8";
  41. LC_TELEPHONE = "pl_PL.UTF-8";
  42. LC_TIME = "pl_PL.UTF-8";
  43. };
  44.  
  45. virtualisation.vmware.guest.enable = true;
  46. virtualisation.virtualbox.guest.enable = true;
  47.  
  48. # Enable the X11 windowing system.
  49. # You can disable this if you're only using the Wayland session.
  50. services.xserver.enable = true;
  51.  
  52. # Enable the KDE Plasma Desktop Environment.
  53. services.displayManager.sddm.enable = true;
  54. services.desktopManager.plasma6.enable = true;
  55.  
  56.  
  57. # Enable the COSMIC login manager
  58. services.displayManager.cosmic-greeter.enable = true;
  59.  
  60. # Enable the COSMIC desktop environment
  61. services.desktopManager.cosmic.enable = true;
  62. services.desktopManager.cosmic.xwayland.enable = true;
  63.  
  64.  
  65. # Configure keymap in X11
  66. services.xserver.xkb = {
  67. layout = "pl";
  68. variant = "";
  69. };
  70.  
  71. # Configure console keymap
  72. console.keyMap = "pl2";
  73.  
  74. # Enable CUPS to print documents.
  75. services.printing.enable = true;
  76.  
  77. # Enable sound with pipewire.
  78. services.pulseaudio.enable = false;
  79. security.rtkit.enable = true;
  80. services.pipewire = {
  81. enable = true;
  82. alsa.enable = true;
  83. alsa.support32Bit = true;
  84. pulse.enable = true;
  85. # If you want to use JACK applications, uncomment this
  86. #jack.enable = true;
  87.  
  88. # use the example session manager (no others are packaged yet so this is enabled by default,
  89. # no need to redefine it in your config for now)
  90. #media-session.enable = true;
  91. };
  92.  
  93. # Enable touchpad support (enabled default in most desktopManager).
  94. # services.xserver.libinput.enable = true;
  95.  
  96. # Define a user account. Don't forget to set a password with ‘passwd’.
  97. users.users.admin = {
  98. isNormalUser = true;
  99. description = "Admin";
  100. extraGroups = [ "networkmanager" "wheel" ];
  101. packages = with pkgs; [
  102. kdePackages.kate
  103. # thunderbird
  104. ];
  105. };
  106.  
  107. # Install firefox.
  108. programs.firefox.enable = true;
  109.  
  110. # Allow unfree packages
  111. nixpkgs.config.allowUnfree = true;
  112.  
  113.  
  114. nixpkgs = {
  115. config = {
  116. packageOverrides = pkgs: {
  117. unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {};
  118. }; }; };
  119.  
  120. environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
  121.  
  122. # List packages installed in system profile. To search, run:
  123. # $ nix search wget
  124. environment.systemPackages = with pkgs; [
  125. wget
  126. vim
  127. neovim
  128. git
  129. gitg
  130. numlockx
  131. brave
  132. sublime4
  133. nanorc
  134. kitty
  135. foot
  136. alacritty
  137. alacritty-graphics
  138. cosmic-panel
  139. cosmic-randr
  140. cosmic-edit
  141. cosmic-term
  142. cosmic-bg
  143. cosmic-idle
  144. cosmic-osd
  145. cosmic-comp
  146. cosmic-icons
  147. cosmic-files
  148. cosmic-reader
  149. cosmic-player
  150. cosmic-session
  151. cosmic-greeter
  152. cosmic-ext-ctl
  153. cosmic-applets
  154. cosmic-settings
  155. cosmic-launcher
  156. cosmic-protocols
  157. cosmic-wallpapers
  158. cosmic-screenshot
  159. cosmic-ext-tweaks
  160. cosmic-applibrary
  161. cosmic-design-demo
  162. cosmic-notifications
  163. cosmic-initial-setup
  164. cosmic-ext-calculator
  165. cosmic-settings-daemon
  166. cosmic-ext-applet-minimon
  167. cosmic-workspaces-epoch
  168. cosmic-ext-applet-caffeine
  169. cosmic-ext-applet-privacy-indicator
  170. examine
  171. quick-webapps
  172. cosmic-ext-applet-external-monitor-brightness
  173. xdg-desktop-portal-cosmic
  174. tasks
  175. oboete
  176. unstable.cosmic-ext-applet-sysinfo
  177. unstable.cosmic-ext-applet-weather
  178. cosmic-store
  179.  
  180. home-manager
  181. wl-clipboard-x11
  182. wayclip
  183.  
  184. #zellij
  185. rofi
  186. helix
  187. yazi
  188. nwg-drawer
  189. starship
  190. lazygit
  191. delta
  192. zsh
  193.  
  194. wayvnc
  195. teamviewer
  196. bottom
  197. fastfetch
  198. inlyne
  199. serpl
  200. swayimg
  201. #gemini-cli
  202. helix-gpt
  203. zathura
  204. wezterm
  205.  
  206. #catppuccin-gtk
  207. #catppuccin
  208. #rustdesk
  209. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
  210. # wget
  211.  
  212. ];
  213.  
  214. nixpkgs.config.permittedInsecurePackages = [
  215. "openssl-1.1.1w"
  216. ];
  217.  
  218. nix.settings.experimental-features = [
  219. "nix-command"
  220. "flakes"
  221. ];
  222.  
  223.  
  224. # Some programs need SUID wrappers, can be configured further or are
  225. # started in user sessions.
  226. # programs.mtr.enable = true;
  227. # programs.gnupg.agent = {
  228. # enable = true;
  229. # enableSSHSupport = true;
  230. # };
  231.  
  232. # List services that you want to enable:
  233.  
  234. # Enable the OpenSSH daemon.
  235. # services.openssh.enable = true;
  236.  
  237. # Open ports in the firewall.
  238. # networking.firewall.allowedTCPPorts = [ ... ];
  239. # networking.firewall.allowedUDPPorts = [ ... ];
  240. # Or disable the firewall altogether.
  241. # networking.firewall.enable = false;
  242.  
  243. # This value determines the NixOS release from which the default
  244. # settings for stateful data, like file locations and database versions
  245. # on your system were taken. It‘s perfectly fine and recommended to leave
  246. # this value at the release version of the first install of this system.
  247. # Before changing this value read the documentation for this option
  248. # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  249. system.stateVersion = "25.11"; # Did you read the comment?
  250.  
  251. }
  252. https://github.com/5hubham5ingh/WallRizz/blob/wallpapers
  253. https://github.com/santoshxshrestha/wallpaper-archive
  254. https://github.com/D3Ext/aesthetic-wallpapers?tab=readme-ov-file
  255. https://github.com/ronit18/Asthetic-Wallpapers
Advertisement
Add Comment
Please, Sign In to add comment