comments for config
This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
# Allow Nix command and flakes (ofc)
|
# Allow Nix command and flakes (ofc)
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ]; // you want this
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
packageOverrides = pkgs: {
|
packageOverrides = pkgs: {
|
||||||
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {};
|
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {}; #to install packages from unstable, put "unstable." before the package
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -23,17 +23,17 @@
|
|||||||
loader = {
|
loader = {
|
||||||
timeout = 2;
|
timeout = 2;
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true; # allows dual booting windows i think
|
||||||
};
|
};
|
||||||
grub = {
|
grub = {
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
theme = pkgs.catppuccin-grub;
|
theme = pkgs.catppuccin-grub; #nice grub theme
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
plymouth = {
|
plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "catppuccin-mocha";
|
theme = "catppuccin-mocha"; # nice plymouth theme
|
||||||
themePackages = with pkgs; [
|
themePackages = with pkgs; [
|
||||||
# By default we would install all themes
|
# By default we would install all themes
|
||||||
(catppuccin-plymouth.override {
|
(catppuccin-plymouth.override {
|
||||||
@@ -47,8 +47,8 @@
|
|||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
# Networking settings
|
# Networking settings
|
||||||
networking.hostName = "mobile02"; # Define your hostname.
|
networking.hostName = "mobile02"; # Define your hostname. #change this to whatever u want ur hostname to be (will kick you off wifi)
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true; #nmtui the goat
|
||||||
|
|
||||||
# Enable bluetooth
|
# Enable bluetooth
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
@@ -56,14 +56,14 @@
|
|||||||
# Opengl and vulkan
|
# Opengl and vulkan
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [ # change if not intel graphics
|
||||||
vaapiIntel
|
vaapiIntel
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London"; # obvious
|
||||||
|
|
||||||
# Locale
|
# Locale
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
@@ -83,10 +83,10 @@
|
|||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "catppuccin-mocha";
|
theme = "catppuccin-mocha"; # login theme
|
||||||
package = pkgs.kdePackages.sddm;
|
package = pkgs.kdePackages.sddm;
|
||||||
};
|
};
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true; # hyprland and io management
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
# Keymap
|
# Keymap
|
||||||
@@ -96,12 +96,12 @@
|
|||||||
};
|
};
|
||||||
console.keyMap = "uk";
|
console.keyMap = "uk";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents. (idk why this is here)
|
||||||
|
|
||||||
# Pipewire
|
# Pipewire
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false; # fuck pulseaudio
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = { # my goat pipewire
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
@@ -109,39 +109,39 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Local User
|
# Local User
|
||||||
users.users.user01 = {
|
users.users.user01 = { # change user01 to what u want ur username to be
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh; # best shell ovs
|
||||||
description = "user01";
|
description = "user01"; # useless lol
|
||||||
extraGroups = [ "input" "networkmanager" "docker" "wheel" ];
|
extraGroups = [ "input" "networkmanager" "docker" "wheel" ]; # docker not needed, but incase u want to install
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [ # packages that are installed only for ur user (if you switch user then these wont be available)
|
||||||
# Ricing
|
# Ricing
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
catppuccin-gtk
|
catppuccin-gtk
|
||||||
(builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default
|
# (builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default (ignore this)
|
||||||
waybar
|
waybar
|
||||||
swaynotificationcenter
|
swaynotificationcenter
|
||||||
fuzzel
|
fuzzel
|
||||||
swww
|
swww # to set wallpapers, "swww img (path to img)
|
||||||
oh-my-posh
|
oh-my-posh # terminal shell
|
||||||
|
|
||||||
# Terminal
|
# Terminal
|
||||||
carapace
|
carapace # better autocomplete
|
||||||
kitty
|
kitty
|
||||||
github-cli
|
github-cli
|
||||||
light
|
light
|
||||||
bluetuith
|
bluetuith # bluetooth tui if u want it
|
||||||
wget
|
wget
|
||||||
playerctl
|
playerctl
|
||||||
git
|
git
|
||||||
fastfetch
|
fastfetch
|
||||||
lsd
|
lsd # better ls
|
||||||
juce
|
# juce (ignore)
|
||||||
stow
|
stow # for config management
|
||||||
fzf
|
fzf
|
||||||
ripgrep
|
ripgrep # nvim stuff
|
||||||
zsh-autocomplete
|
zsh-autocomplete
|
||||||
nodejs
|
# (if u want) nodejs
|
||||||
lazygit
|
lazygit
|
||||||
tailscale
|
tailscale
|
||||||
|
|
||||||
@@ -154,8 +154,8 @@
|
|||||||
# Apps
|
# Apps
|
||||||
pavucontrol
|
pavucontrol
|
||||||
firefox
|
firefox
|
||||||
tor-browser
|
# tor-browser (if u want)
|
||||||
gotify-desktop
|
# gotify-desktop (ignore this, it's useless)
|
||||||
techmino
|
techmino
|
||||||
mpv
|
mpv
|
||||||
prismlauncher
|
prismlauncher
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Zsh
|
# Zsh
|
||||||
programs.zsh = {
|
programs.zsh = { # terminal config
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
enableBashCompletion = true;
|
enableBashCompletion = true;
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ntfy Notifcations
|
# Ntfy Notifcations (doesnt work, feel free to delete)
|
||||||
systemd.user.services.ntfy-listener = {
|
systemd.user.services.ntfy-listener = {
|
||||||
description = "NTFY listener for Hyprland notifications";
|
description = "NTFY listener for Hyprland notifications";
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
# User programs
|
# User programs
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
# User Services
|
# User Services (disable some of these idk)
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
@@ -210,11 +210,11 @@
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts.fira-mono
|
nerd-fonts.fira-mono # best terminal font
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
|
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [ # packages that are installed systemwide (dw u can still use user packages with sudo)
|
||||||
|
|
||||||
# Catppuccin sddm theme
|
# Catppuccin sddm theme
|
||||||
(pkgs.catppuccin-sddm.override {
|
(pkgs.catppuccin-sddm.override {
|
||||||
@@ -230,7 +230,7 @@
|
|||||||
buildInputs = [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/nvim \
|
wrapProgram $out/bin/nvim \
|
||||||
--prefix PATH : ${pkgs.lib.makeBinPath [
|
--prefix PATH : ${pkgs.lib.makeBinPath [ # put lsps and stuff in this list, won't be accessible to anything but nvim (need to precede with pkgs.)
|
||||||
pkgs.lua-language-server
|
pkgs.lua-language-server
|
||||||
pkgs.vscode-langservers-extracted
|
pkgs.vscode-langservers-extracted
|
||||||
pkgs.emmet-ls
|
pkgs.emmet-ls
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
]}
|
]}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
vim
|
vim # dont remove or u die (nano is always installed just in case)
|
||||||
unzip
|
unzip
|
||||||
python310 # Its python like come on
|
python310 # Its python like come on
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@
|
|||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
# The comment
|
# The comment (don't ever change this number, its important)
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user