Compare commits
2 Commits
2429f0d2a4
...
ab6b6e2889
| Author | SHA1 | Date | |
|---|---|---|---|
| ab6b6e2889 | |||
| cb4d3805e8 |
3
TODO.md
3
TODO.md
@ -24,17 +24,16 @@
|
||||
- [x] fix rofi cliboard manager by moving it into separate file managed by nix
|
||||
- [x] nix-on-droid
|
||||
- [x] stylix make in one place and check for each program if it is enabled (tmux)
|
||||
|
||||
- [ ] neovim
|
||||
- [ ] librewolf and firefox fix, extensions and bookmarks in librewolf
|
||||
- [ ] modularize hyprland config into multiple files
|
||||
- [ ] consider moving nh config helper into module
|
||||
- [ ] make static background folder and figure out how to simply manage backgrounds across my devices
|
||||
- [ ] fix plasma manager and extend gnome configuration
|
||||
- [ ] ssh public key deployment
|
||||
- [ ] consider moving userSettings from flake.nix to each profile
|
||||
- [ ] add grub bootloader to configuration (and theme)
|
||||
- [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...)
|
||||
- [ ] check nvtop if nvidia is enabled
|
||||
- [ ] add notification management for bluetooth etc...
|
||||
- [ ] add syncthing configuration
|
||||
- [ ] qutebrowser configuration
|
||||
|
||||
@ -10,7 +10,7 @@ if [ -d $SCRIPT_DIR ]; then
|
||||
gum confirm "The directory $SCRIPT_DIR already exists. Do you want to delete it?" && yes | rm -rv $SCRIPT_DIR
|
||||
fi
|
||||
|
||||
nixos_profile=$(gum choose kogami ginoza tsunemori)
|
||||
nixos_profile=$(gum choose kogami ginoza)
|
||||
download_wallpapers=$(gum confirm "Do you want to download wallpapers (it may take longer)?" && echo true || echo false)
|
||||
|
||||
if [ -d $SCRIPT_DIR ]; then
|
||||
@ -43,4 +43,10 @@ $EDITOR $SCRIPT_DIR/flake.nix
|
||||
gum log --structured --level info "Building configuration for $profile..." profile $profile
|
||||
sudo nixos-rebuild build --flake $SCRIPT_DIR#"${profile}"
|
||||
|
||||
# Wallpapers
|
||||
if [ $download_wallpapers = true ]; then
|
||||
gum log --structured --level info "Downloading wallpapers..." profile $profile
|
||||
nix-shell -p git --command "git clone https://git.foglar.tech/foglar/wallpapers.git ~/Pictures/wallpapers"
|
||||
fi
|
||||
|
||||
gum confirm "Do you want to reboot now?" && systemctl reboot || gum log "Please reboot later, to switch to the new configuration"
|
||||
|
||||
@ -14,7 +14,6 @@
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
programs.nix-ld.dev.enable = true;
|
||||
|
||||
# Home manager
|
||||
home-manager = {
|
||||
@ -76,11 +75,7 @@
|
||||
programs.kdeconnect.enable = true;
|
||||
programs.wireshark.enable = true;
|
||||
programs.auto-cpufreq.enable = true;
|
||||
|
||||
services.logind.extraConfig = ''
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
programs.nix-ld.dev.enable = true;
|
||||
|
||||
environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default];
|
||||
|
||||
|
||||
5
nixos/system/settings/logind.nix
Normal file
5
nixos/system/settings/logind.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
services.logind.extraConfig = ''
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
}
|
||||
@ -15,6 +15,7 @@
|
||||
./settings/loginManager.nix
|
||||
./settings/style.nix
|
||||
./settings/default-applications.nix
|
||||
./settings/logind.nix
|
||||
#./settings/bootloader.nix
|
||||
|
||||
./settings/user.nix
|
||||
|
||||
Loading…
Reference in New Issue
Block a user