diff options
author | Karel Kočí <cynerd@email.cz> | 2022-07-01 20:17:16 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-07-01 20:17:16 +0200 |
commit | 1549260ee777d8d777495ddff21295f2cb87d209 (patch) | |
tree | 7533ca0c68f0658de3670303c55cb59dbd81ddde | |
parent | 67a3c10e14b3da25798d4c62487e921759afd4ff (diff) | |
download | nixos-personal-1549260ee777d8d777495ddff21295f2cb87d209.tar.gz nixos-personal-1549260ee777d8d777495ddff21295f2cb87d209.tar.bz2 nixos-personal-1549260ee777d8d777495ddff21295f2cb87d209.zip |
nixos: improve console and fix ridcully
-rw-r--r-- | nixos/machine/ridcully.nix | 4 | ||||
-rw-r--r-- | nixos/modules/generic.nix | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/machine/ridcully.nix b/nixos/machine/ridcully.nix index 4c0bba9..7151878 100644 --- a/nixos/machine/ridcully.nix +++ b/nixos/machine/ridcully.nix @@ -23,18 +23,22 @@ with lib; fileSystems = { "/" = { device = "/dev/mapper/encroot"; + fsType = "btrfs"; options = ["compress=lzo" "subvol=@nix"]; }; "/home" = { device = "/dev/mapper/encroot"; + fsType = "btrfs"; options = ["compress=lzo" "subvol=@home"]; }; "/boot" = { device = "/dev/disk/by-uuid/C1A0-B7C9"; + fsType = "vfat"; }; "/home2" = { device = "/dev/mapper/enchdd"; + fsType = "btrfs"; options = ["compress=lzo" "subvol=@home"]; }; }; diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 34f952c..b8b2a6e 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -98,6 +98,17 @@ with lib; time.timeZone = "Europe/Prague"; i18n.defaultLocale = "en_US.UTF-8"; + + console = { + colors = [ + "2e3440" "3b4252" "434c5e" "4c566a" "d8dee9" "e5e9f0" "eceff4" "8fbcbb" + "88c0d0" "81a1c1" "5e81ac" "bf616a" "d08770" "ebcb8b" "a3be8c" "b48ead" + ]; + earlySetup = true; + useXkbConfig = true; + }; + services.xserver.xkbOptions = "grp:alt_shift_toggle,caps:escape"; + services.gpm.enable = true; }; } |