resuscitate thinky

This commit is contained in:
Cyryl Płotnicki 2023-06-19 22:34:51 +02:00
parent 2f84aa509a
commit 0edb2ce421
5 changed files with 12 additions and 11 deletions

View file

@ -10,8 +10,9 @@
../../gui ../../gui
../../libvirt.nix ../../libvirt.nix
../../mercurial ../../mercurial
../../vim
../../sdr.nix ../../sdr.nix
../../vim
../../zsh
]; ];
fileSystems."/" = { options = [ "compress=zstd" ]; }; fileSystems."/" = { options = [ "compress=zstd" ]; };

View file

@ -1,20 +1,17 @@
{ { config, pkgs, ... }: {
config,
pkgs,
...
}: {
networking.hostName = "thinky"; networking.hostName = "thinky";
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../backups.nix ../../backups.nix
../../boot.nix ../../boot.nix
../../distributed-builds.nix
../../gfx-intel.nix ../../gfx-intel.nix
../../git ../../git
../../gui ../../gui
../../i3 ../../i3
../../mercurial ../../mercurial
../../vim
../../zsh
]; ];
time.timeZone = "Europe/Warsaw"; time.timeZone = "Europe/Warsaw";
@ -27,7 +24,7 @@
algorithm = "zstd"; algorithm = "zstd";
memoryPercent = 50; memoryPercent = 50;
}; };
home-manager.users.cyryl = {...}: { home-manager.users.cyryl = { ... }: {
imports = [../../home-manager/programs/termite.nix]; imports = [ ../../home-manager/programs/termite.nix ];
}; };
} }

View file

@ -13,7 +13,7 @@ in {
home.username = username; home.username = username;
home.homeDirectory = lib.mkDefault "/home/${username}"; home.homeDirectory = lib.mkDefault "/home/${username}";
home.stateVersion = "22.11"; home.stateVersion = "23.05";
programs.home-manager.enable = true; programs.home-manager.enable = true;
imports = [ imports = [
@ -26,6 +26,5 @@ in {
./programs/newsboat.nix ./programs/newsboat.nix
./programs/ssh.nix ./programs/ssh.nix
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh.nix
]; ];
} }

4
nixos/zsh/default.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, pkgs, lib, ... }: {
programs.zsh.enable = true;
home-manager.users.cyryl = { ... }: { imports = [ ./home.nix ]; };
}