fixed wallpapers and added nix config
This commit is contained in:
Binary file not shown.
@@ -7,7 +7,7 @@ exec-once = way-edges # Screen Edge Shell
|
|||||||
exec-once = waybar # System bar
|
exec-once = waybar # System bar
|
||||||
exec-once = swaync # Notifications
|
exec-once = swaync # Notifications
|
||||||
exec-once = xremap ~/.config/xremap/config.yml --device /dev/input/event0 # Remap Caps to esc so i can use nvim without losing it
|
exec-once = xremap ~/.config/xremap/config.yml --device /dev/input/event0 # Remap Caps to esc so i can use nvim without losing it
|
||||||
exec-once = swww-daemon # Wallpaper
|
exec-once = wpaperd -d # Wallpaper
|
||||||
exec-once = ~/.config/scripts/.venv/bin/python ~/.config/scripts/notify.py # Android notification forwarding
|
exec-once = ~/.config/scripts/.venv/bin/python ~/.config/scripts/notify.py # Android notification forwarding
|
||||||
exec-once = wayvnc 0.0.0.0 --output=DP-1 # runs vnc server on all interfaces
|
exec-once = wayvnc 0.0.0.0 --output=DP-1 # runs vnc server on all interfaces
|
||||||
exec-once = syncthing -home=/home/user01/.config/syncthing -no-browser # starts syncthing in background
|
exec-once = syncthing -home=/home/user01/.config/syncthing -no-browser # starts syncthing in background
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
[any]
|
[any]
|
||||||
path = "/home/user01/Documents/projects/stow/.config/wallpapers"
|
path = "/home/user01/.config/wallpapers"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
@@ -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" ]; // you want this
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# 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") {}; #to install packages from unstable, put "unstable." before the package
|
unstable = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -23,17 +23,17 @@
|
|||||||
loader = {
|
loader = {
|
||||||
timeout = 2;
|
timeout = 2;
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true; # allows dual booting windows i think
|
canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
grub = {
|
grub = {
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
theme = pkgs.catppuccin-grub; #nice grub theme
|
theme = pkgs.catppuccin-grub;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
plymouth = {
|
plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "catppuccin-mocha"; # nice plymouth theme
|
theme = "catppuccin-mocha";
|
||||||
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. #change this to whatever u want ur hostname to be (will kick you off wifi)
|
networking.hostName = "mobile02"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true; #nmtui the goat
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# 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; [ # change if not intel graphics
|
extraPackages = with pkgs; [
|
||||||
vaapiIntel
|
vaapiIntel
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/London"; # obvious
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
# 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"; # login theme
|
theme = "catppuccin-mocha";
|
||||||
package = pkgs.kdePackages.sddm;
|
package = pkgs.kdePackages.sddm;
|
||||||
};
|
};
|
||||||
programs.hyprland.enable = true; # hyprland and io management
|
programs.hyprland.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
# Keymap
|
# Keymap
|
||||||
@@ -96,12 +96,10 @@
|
|||||||
};
|
};
|
||||||
console.keyMap = "uk";
|
console.keyMap = "uk";
|
||||||
|
|
||||||
# Enable CUPS to print documents. (idk why this is here)
|
|
||||||
|
|
||||||
# Pipewire
|
# Pipewire
|
||||||
services.pulseaudio.enable = false; # fuck pulseaudio
|
services.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = { # my goat pipewire
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
@@ -109,39 +107,39 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Local User
|
# Local User
|
||||||
users.users.user01 = { # change user01 to what u want ur username to be
|
users.users.user01 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.zsh; # best shell ovs
|
shell = pkgs.zsh;
|
||||||
description = "user01"; # useless lol
|
description = "user01";
|
||||||
extraGroups = [ "input" "networkmanager" "docker" "wheel" ]; # docker not needed, but incase u want to install
|
extraGroups = [ "input" "networkmanager" "docker" "wheel" ];
|
||||||
packages = with pkgs; [ # packages that are installed only for ur user (if you switch user then these wont be available)
|
packages = with pkgs; [
|
||||||
# Ricing
|
# Ricing
|
||||||
bibata-cursors
|
bibata-cursors
|
||||||
catppuccin-gtk
|
catppuccin-gtk
|
||||||
# (builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default (ignore this)
|
(builtins.getFlake "/etc/nixos/way-edges").packages.${pkgs.system}.default
|
||||||
waybar
|
waybar
|
||||||
swaynotificationcenter
|
swaynotificationcenter
|
||||||
fuzzel
|
fuzzel
|
||||||
swww # to set wallpapers, "swww img (path to img)
|
wpaperd
|
||||||
oh-my-posh # terminal shell
|
oh-my-posh
|
||||||
|
|
||||||
# Terminal
|
# Terminal
|
||||||
carapace # better autocomplete
|
carapace
|
||||||
kitty
|
kitty
|
||||||
github-cli
|
github-cli
|
||||||
light
|
light
|
||||||
bluetuith # bluetooth tui if u want it
|
bluetuith
|
||||||
wget
|
wget
|
||||||
playerctl
|
playerctl
|
||||||
git
|
git
|
||||||
fastfetch
|
fastfetch
|
||||||
lsd # better ls
|
lsd
|
||||||
# juce (ignore)
|
juce
|
||||||
stow # for config management
|
stow
|
||||||
fzf
|
fzf
|
||||||
ripgrep # nvim stuff
|
ripgrep
|
||||||
zsh-autocomplete
|
zsh-autocomplete
|
||||||
# (if u want) nodejs
|
nodejs
|
||||||
lazygit
|
lazygit
|
||||||
tailscale
|
tailscale
|
||||||
|
|
||||||
@@ -154,8 +152,8 @@
|
|||||||
# Apps
|
# Apps
|
||||||
pavucontrol
|
pavucontrol
|
||||||
firefox
|
firefox
|
||||||
# tor-browser (if u want)
|
tor-browser
|
||||||
# gotify-desktop (ignore this, it's useless)
|
gotify-desktop
|
||||||
techmino
|
techmino
|
||||||
mpv
|
mpv
|
||||||
prismlauncher
|
prismlauncher
|
||||||
@@ -168,7 +166,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Zsh
|
# Zsh
|
||||||
programs.zsh = { # terminal config
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
enableBashCompletion = true;
|
enableBashCompletion = true;
|
||||||
@@ -181,27 +179,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ntfy Notifcations (doesnt work, feel free to delete)
|
|
||||||
systemd.user.services.ntfy-listener = {
|
|
||||||
description = "NTFY listener for Hyprland notifications";
|
|
||||||
after = [ "network-online.target" ];
|
|
||||||
wants = [ "network-online.target" ];
|
|
||||||
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "/home/user01/.config/scripts/.venv/bin/python /home/user01/.config/scripts/notify.py";
|
|
||||||
Restart = "always";
|
|
||||||
RestartSec = 5;
|
|
||||||
Environment = "DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/%U PATH=/run/current-system/sw/bin";
|
|
||||||
WorkingDirectory = "/home/user01"; # optional, but can help
|
|
||||||
};
|
|
||||||
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# User programs
|
# User programs
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
# User Services (disable some of these idk)
|
# User Services
|
||||||
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 +191,11 @@
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts.fira-mono # best terminal font
|
nerd-fonts.fira-mono
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
|
fonts.fontconfig.defaultFonts.serif = [ "Fira Mono Nerd Font" ];
|
||||||
environment.systemPackages = with pkgs; [ # packages that are installed systemwide (dw u can still use user packages with sudo)
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
# Catppuccin sddm theme
|
# Catppuccin sddm theme
|
||||||
(pkgs.catppuccin-sddm.override {
|
(pkgs.catppuccin-sddm.override {
|
||||||
@@ -230,7 +211,7 @@
|
|||||||
buildInputs = [ pkgs.makeWrapper ];
|
buildInputs = [ pkgs.makeWrapper ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/nvim \
|
wrapProgram $out/bin/nvim \
|
||||||
--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.)
|
--prefix PATH : ${pkgs.lib.makeBinPath [
|
||||||
pkgs.lua-language-server
|
pkgs.lua-language-server
|
||||||
pkgs.vscode-langservers-extracted
|
pkgs.vscode-langservers-extracted
|
||||||
pkgs.emmet-ls
|
pkgs.emmet-ls
|
||||||
@@ -241,7 +222,7 @@
|
|||||||
]}
|
]}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
vim # dont remove or u die (nano is always installed just in case)
|
vim
|
||||||
unzip
|
unzip
|
||||||
python310 # Its python like come on
|
python310 # Its python like come on
|
||||||
|
|
||||||
@@ -267,7 +248,7 @@
|
|||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
# The comment (don't ever change this number, its important)
|
# The comment
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
16
.nixos/flake.nix
Normal file
16
.nixos/flake.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
description = "My NixOS system configuration";
|
||||||
|
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs, ... }@inputs:
|
||||||
|
{
|
||||||
|
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user