Fixing package issues and tidying configs
This commit is contained in:
@@ -12,7 +12,7 @@ echo ""
|
|||||||
# Configuration variables
|
# Configuration variables
|
||||||
GIT_REPO="https://git.cribdev.com/crib/nixos-config.git"
|
GIT_REPO="https://git.cribdev.com/crib/nixos-config.git"
|
||||||
CONFIG_DIR="$HOME/.config/nixos"
|
CONFIG_DIR="$HOME/.config/nixos"
|
||||||
HOSTNAME=$(cribnix)
|
HOSTNAME=$(HOSTNAME)
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
|
|||||||
@@ -11,6 +11,11 @@
|
|||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
|
||||||
|
# For systemd boot
|
||||||
|
#boot.loader.systemd-boot.enable = true;
|
||||||
|
#boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
networking.hostName = "MYHOST";
|
networking.hostName = "MYHOST";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
@@ -38,7 +43,7 @@
|
|||||||
# User account
|
# User account
|
||||||
users.users.YOURUSERNAME = {
|
users.users.YOURUSERNAME = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Crib";
|
description = "User";
|
||||||
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
|
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.crib = import ./home/home.nix;
|
home-manager.users.YOURUSERNAME = import ./home/home.nix;
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# Startup applications
|
# Startup applications
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"waybar"
|
"waybar"
|
||||||
"swaync"
|
"swaynotificationcenter"
|
||||||
"swww init"
|
"swww init"
|
||||||
"nm-applet --indicator"
|
"nm-applet --indicator"
|
||||||
"blueman-applet"
|
"blueman-applet"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi;
|
||||||
|
|
||||||
theme = let
|
theme = let
|
||||||
inherit (config.lib.formats.rasi) mkLiteral;
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
|
|
||||||
# Wayland essentials
|
# Wayland essentials
|
||||||
waybar # Status bar
|
waybar # Status bar
|
||||||
rofi-wayland # Application launcher (vyrx uses Rofi)
|
rofi # Application launcher (vyrx uses Rofi)
|
||||||
dunst # Notification daemon
|
dunst # Notification daemon
|
||||||
swww # Wallpaper daemon
|
swww # Wallpaper daemon
|
||||||
swaync # Notification center (vyrx uses this)
|
swaynotificationcenter # Notification center (vyrx uses this)
|
||||||
|
|
||||||
# Screenshot and recording
|
# Screenshot and recording
|
||||||
grim # Screenshot tool
|
grim # Screenshot tool
|
||||||
|
|||||||
Reference in New Issue
Block a user