updating for reinstall of kaladin

This commit is contained in:
Chris Cochrun 2024-06-20 16:04:57 -05:00
parent d8a5bb5530
commit 5a985cad9f
6 changed files with 39 additions and 52 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ags, ... }: { config, lib, pkgs, ... }:
let let
laptop = builtins.readFile "/etc/hostname" == "syl\n"; laptop = builtins.readFile "/etc/hostname" == "syl\n";
@ -6,7 +6,7 @@ in
{ {
imports = [ imports = [
./modules/hyprland.nix ./modules/hyprland.nix
ags.homeManagerModules.default #ags.homeManagerModules.default
]; ];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
@ -665,14 +665,14 @@ tooltip label {
source = ../.config/fish/functions; source = ../.config/fish/functions;
}; };
programs.ags = { #programs.ags = {
enable = true; # enable = true;
extraPackages = with pkgs; [ # extraPackages = with pkgs; [
gtksourceview # gtksourceview
webkitgtk # webkitgtk
accountsservice # accountsservice
]; # ];
}; #};
programs.fish = { programs.fish = {
enable = true; enable = true;
@ -874,7 +874,6 @@ end
programs.nushell = { programs.nushell = {
enable = true; enable = true;
# package = pkgs.nushellFull;
shellAliases = { shellAliases = {
# ls = "eza -l"; # ls = "eza -l";
la = "ls -la"; la = "ls -la";
@ -1130,7 +1129,7 @@ end
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; autosuggestion.enable = true;
enableCompletion = true; enableCompletion = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
autocd = true; autocd = true;

View file

@ -81,11 +81,8 @@ in
''; '';
}; };
home.file.".config/hypr/hyprpaper.conf" = { home.file.".config/hypr/hyprpaper.conf" = {
source = if laptop then /home/chris/.dotfiles/.config/hypr/hyprpaper.conf else /home/chris/.dotfiles/.config/hypr/hyprpaper.conf; source = if laptop then /root/dotfiles/.config/hypr/hyprpaper.conf else /root/dotfiles/.config/hypr/hyprpaper.conf;
}; };
# home.file.".config/hypr/hyprsome" = {
# source = if laptop then /home/chris/.dotfiles/.config/hypr/hyprsome else /home/chris/.dotfiles/.config/hypr/hyprsome;
# };
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

View file

@ -35,25 +35,8 @@ with lib;
enable = true; enable = true;
package = pkgs.awesome; package = pkgs.awesome;
}; };
displayManager = {
startx.enable = true;
sddm = {
enable = false;
};
gdm.enable = false;
session = [
{
manage = "desktop";
name = "Hyprland";
start = ''
/home/chris/bin/hyprland &
waitPID=$!
'';
}
];
};
desktopManager.plasma5 = { desktopManager.plasma5 = {
enable = true; enable = false;
runUsingSystemd = true; runUsingSystemd = true;
}; };
# desktopManager.gnome.enable = true; # desktopManager.gnome.enable = true;
@ -201,7 +184,7 @@ with lib;
services.flatpak.enable = true; services.flatpak.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.layout = "us"; services.xserver.xkb.layout = "us";
# services.xserver.xkbOptions = "eurosign:e"; # services.xserver.xkbOptions = "eurosign:e";
# Enable CUPS to print documents. # Enable CUPS to print documents.

View file

@ -30,7 +30,7 @@
binutils binutils
podman-compose podman-compose
eza eza
nushellFull nushell
iperf iperf
# img2pdf # img2pdf
yt-dlp yt-dlp

View file

@ -43,7 +43,7 @@ with lib;
sassc sassc
# pantalaimon # pantalaimon
plasma5Packages.kwallet plasma5Packages.kwallet
sierra-breeze-enhanced # sierra-breeze-enhanced
libimobiledevice libimobiledevice
# textgen-amd # textgen-amd
# bottles # bottles
@ -54,13 +54,13 @@ with lib;
# python310Packages.mutagen # python310Packages.mutagen
python310Packages.audiotools python310Packages.audiotools
(mpv.override {scripts = with pkgs.mpvScripts; [ mpris quality-menu sponsorblock ];}) (mpv.override {scripts = with pkgs.mpvScripts; [ mpris quality-menu sponsorblock ];})
haruna # haruna
ani-cli ani-cli
# mov-cli # mov-cli
nerdfonts nerdfonts
plasma-browser-integration plasma-browser-integration
alacritty alacritty
libsForQt5.bismuth # libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
#anyrun #anyrun
@ -96,21 +96,21 @@ with lib;
kde-cli-tools kde-cli-tools
gzip gzip
qrencode qrencode
brave # brave
scribus # scribus
darktable # darktable
# qutebrowser # qutebrowser
virt-manager virt-manager
virt-viewer virt-viewer
# firefox # firefox
kate # kate
kdialog kdialog
plasma5Packages.khotkeys plasma5Packages.khotkeys
# openlp # openlp
inkscape inkscape
libreoffice-fresh libreoffice-fresh
vlc vlc
neochat # neochat
haskellPackages.greenclip haskellPackages.greenclip
pulsemixer pulsemixer
any-nix-shell any-nix-shell
@ -137,22 +137,22 @@ with lib;
# glaxnimate # glaxnimate
mediainfo mediainfo
libmediainfo libmediainfo
minetest # minetest
pqiv pqiv
plasma5Packages.audiotube plasma5Packages.audiotube
# natron # natron
digikam # digikam
rubberband rubberband
texliveFull #texlive
wlroots wlroots
# picom-jonaburg # picom-jonaburg
pamixer pamixer
playerctl playerctl
jellyfin-mpv-shim jellyfin-mpv-shim
pfetch # pfetch
macchina macchina
gimp gimp
krita # krita
powertop powertop
element-desktop-wayland element-desktop-wayland
scrcpy scrcpy

View file

@ -11,17 +11,24 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10"; { device = "/dev/disk/by-uuid/af62c65b-943d-4a8a-8f77-ad7826729aba";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" "noatime" "ssd" "space_cache" "clear_cache" "compress=zstd" ]; options = [ "subvol=@" "noatime" "ssd" "space_cache" "clear_cache" "compress=zstd" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10"; { device = "/dev/disk/by-uuid/af62c65b-943d-4a8a-8f77-ad7826729aba";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@home" "noatime" "ssd" "space_cache" "clear_cache" "compress=zstd" ]; options = [ "subvol=@home" "noatime" "ssd" "space_cache" "clear_cache" "compress=zstd" ];
}; };
fileSystems."/snapshots" =
{ device = "/dev/disk/by-uuid/af62c65b-943d-4a8a-8f77-ad7826729aba";
fsType = "btrfs";
options = [ "subvol=snapshots" "noatime" "ssd" "space_cache" "clear_cache" "compress=zstd" ];
};
#fileSystems."/nix" = #fileSystems."/nix" =
# { device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10"; # { device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10";
# fsType = "btrfs"; # fsType = "btrfs";
@ -48,6 +55,7 @@
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/35A0-C1F1"; { device = "/dev/disk/by-uuid/35A0-C1F1";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
}; };
swapDevices = [ ]; swapDevices = [ ];
@ -60,6 +68,6 @@
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }