fixed file conflicts

This commit is contained in:
2024-09-25 01:37:09 -04:00
parent e0f4d10742
commit 514a944f80
4 changed files with 59 additions and 3 deletions

View File

@@ -12,11 +12,13 @@
networking = { networking = {
networkmanager.enable = true; # Easiest to use and most distros use this by default. networkmanager.enable = true; # Easiest to use and most distros use this by default.
hostName = "glasshouse";
hosts = { hosts = {
"192.168.1.163" = [ "glasshouse.info" ]; "192.168.1.163" = [ "glasshouse.info" ];
}; };
}; };
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
@@ -47,6 +49,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
parted parted
vim vim
gnumake
wget wget
alsa-utils alsa-utils
alsa-lib alsa-lib
@@ -84,6 +87,7 @@
hyprland-workspaces hyprland-workspaces
hyprland hyprland
htop htop
mpd
inetutils inetutils
fzf fzf
feh feh

View File

@@ -0,0 +1,39 @@
{
description = "Flake Boilerplate";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
default = pkgs.stdenv.mkDerivation {
pname = "hackneyed-cursors";
version = "0.9.2";
src = pkgs.fetchFromGitHub {
owner = "Enthymeme";
repo = "hackneyed-x11-cursors";
rev = "master";
sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAA=";
};
buildInputs = with pkgs; [
imagemagick
inkscape
make
bash
xorg.xcursorgen
];
buildPhase = ''
./build-all-themes.sh --dark-theme-only -j dist.large
'';
};
};
};
}

View File

@@ -18,7 +18,7 @@
# release notes. # release notes.
home.stateVersion = "24.05"; # Please read the comment before changing. home.stateVersion = "24.05"; # Please read the comment before changing.
# hi
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [
@@ -28,8 +28,8 @@
rofi rofi
starship starship
ranger ranger
firefox
zathura zathura
firefox
yt-dlp yt-dlp
vlc vlc
spotify spotify
@@ -68,5 +68,6 @@
}; };
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.zsh.enable = true;
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }

View File

@@ -43,7 +43,6 @@
navhelp = "navhelp | less"; navhelp = "navhelp | less";
svc = "systemctl --user"; svc = "systemctl --user";
hmswitch = "home-manager switch"; hmswitch = "home-manager switch";
nixswitch = "sudo nixos-rebuild switch --flake $HOME/sysflakes#glasshouse";
hmconf = "nvim $HOME/sysflakes/glasshouse-desktop/home.nix"; hmconf = "nvim $HOME/sysflakes/glasshouse-desktop/home.nix";
nixconf = "nvim $HOME/sysflakes/glasshouse-desktop/configuration.nix"; nixconf = "nvim $HOME/sysflakes/glasshouse-desktop/configuration.nix";
}; };
@@ -195,6 +194,19 @@ screengrab() {
fi fi
grimblast save area $name grimblast save area $name
} }
nixswitch() {
cd $HOME/sysflakes
gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1/')
gen=$((gen + 1))
git diff --cached --quiet
if [ $? = 0 ]; then
git add .
git commit -m "Commit for generation $gen"
git push
fi
sudo nixos-rebuild switch --flake $HOME/sysflakes#glasshouse
}
''; '';
initExtraBeforeCompInit = '' initExtraBeforeCompInit = ''