diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-01 18:05:58 +0800 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-08-01 18:05:58 +0800 |
commit | 4fe4ebefc87d0fb0be6f16d66f13d0334a55988d (patch) | |
tree | e2fd7eba8192b6d2c9776d755e41d21d6b1f0bb8 /nixos/configuration.nix | |
parent | 0770a70d0bb4899cc2496662482ec20b0b6588c5 (diff) | |
download | nixos-configuration-4fe4ebefc87d0fb0be6f16d66f13d0334a55988d.tar.gz nixos-configuration-4fe4ebefc87d0fb0be6f16d66f13d0334a55988d.tar.bz2 nixos-configuration-4fe4ebefc87d0fb0be6f16d66f13d0334a55988d.zip |
feat: decent shell configuration with starship and zsh
direnv and devenv integrated support
experimental nginx test configuration
sway and foot configuration updated
created initial sddm configuration for login manager
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r-- | nixos/configuration.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index dde33e1..bfed15f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -10,7 +10,10 @@ { imports = [ ./variables.nix - ./nvidia.nix + #./greetd-sway.nix + #./nvidia.nix + ./fonts.nix + ./services/nginx.service.nix ./hardware-configuration.nix ]; boot.loader = { @@ -31,6 +34,18 @@ ''; }; }; + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + }; + systemd.user.services.kanshi = { + description = "kanshi daemon"; + serviceConfig = { + Type = "simple"; + ExecStart = ''${pkgs.kanshi}/bin/kanshi -c kanshi_config_file''; + }; + }; + security.polkit.enable = true; services.gnome.gnome-keyring.enable = true; programs.sway = { @@ -53,6 +68,7 @@ flake-registry = ""; nix-path = config.nix.nixPath; }; + channel.enable = false; registry = lib.mapAttrs (_: flake: {inherit flake;}) flakeInputs; nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs; }; @@ -79,6 +95,7 @@ PasswordAuthentication = false; }; }; + services.automatic-timezoned.enable = true; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "24.05"; } |