Clean up home-manager directory
This commit is contained in:
parent
701cff5566
commit
9e715b301f
8 changed files with 2 additions and 13 deletions
|
|
@ -1,8 +0,0 @@
|
|||
# Bootstrapping
|
||||
```
|
||||
nix-shell -p git -p home-manager
|
||||
cd .config
|
||||
# git clone ssh://git@git.mlaga97.space:2222/mlaga97/home-manager
|
||||
git clone https://git.mlaga97.space/mlaga97/home-manager
|
||||
home-manager switch
|
||||
```
|
||||
|
|
@ -1 +0,0 @@
|
|||
home-manager switch --flake .?submodules=1 -b backup
|
||||
|
|
@ -1 +0,0 @@
|
|||
rm -rf ./secrets
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
(import (
|
||||
fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/12c64ca55c1014cdc1b16ed5a804aa8576601ff2.tar.gz";
|
||||
sha256 = "0jm6nzb83wa6ai17ly9fzpqc40wg1viib8klq8lby54agpl213w5"; }
|
||||
) {
|
||||
src = ./.;
|
||||
}).defaultNix
|
||||
|
|
@ -1 +0,0 @@
|
|||
cat secrets.tar.zst.gpg | gpg -d | tar --zstd -xv
|
||||
|
|
@ -1 +0,0 @@
|
|||
tar -c secrets/ | zstd | gpg --encrypt --compress-algo none --recipient mlaga97@gmail.com > secrets.tar.zst.gpg
|
||||
Binary file not shown.
|
|
@ -1,69 +0,0 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
alsa-utils
|
||||
];
|
||||
|
||||
home.file = {
|
||||
"precision/fixmicrophone" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
# https://github.com/NixOS/nixpkgs/issues/294170
|
||||
sudo ln -s /run/current-system/sw/bin/rm /bin
|
||||
sudo ln -s /run/current-system/sw/bin/mkdir /bin
|
||||
|
||||
# https://discourse.nixos.org/t/dell-xps-13-9320-microphone-not-working/40932/3
|
||||
sudo alsactl init
|
||||
systemctl --user restart pipewire
|
||||
'';
|
||||
};
|
||||
|
||||
"precision/home" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output DP-4-3 --mode 3840x2160 --rate 30 --primary \
|
||||
--output DP-4-1 --mode 3840x2160 --rate 30 --right-of DP-4-3 \
|
||||
--output eDP-1 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"precision/office" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
||||
--output eDP-1 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"precision/backward" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1200 \
|
||||
--output DP-2 --mode 3840x2160 --rate 30 --primary --right-of eDP-1
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"precision/standalone" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1200 --primary \
|
||||
--output DP-1 --off \
|
||||
--output DP-2 --off \
|
||||
--output DP-3 --off \
|
||||
--output DP-4 --off \
|
||||
--output DP-5 --off \
|
||||
--output DP-2-1 --off \
|
||||
--output DP-2-2 --off \
|
||||
--output DP-2-3 --off \
|
||||
--output DP-4-1 --off \
|
||||
--output DP-4-2 --off \
|
||||
--output DP-4-3 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue