diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2024-02-26 02:19:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 02:19:20 +0000 |
| commit | a4869c9722e6041994bbb19cea993ee0bb39a9da (patch) | |
| tree | 2a3129592eb8c25000319ed8f064407be4f94c3d /configuration.nix | |
| parent | 44235db0fd5e3de832f36f099593df28f296e2e0 (diff) | |
working but incomplete
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/configuration.nix b/configuration.nix index 8773a6c..e644db3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,11 +1,12 @@ -.# Edit this configuration file to define what should be installed on +# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: { +{ config, pkgs, inputs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + inputs.home-manager.nixosModules.default ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; @@ -18,7 +19,7 @@ boot.loader.grub.useOSProber = true; networking.hostName = "nixos"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.wireless.enable = false; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -52,10 +53,13 @@ displayManager.startx.enable = true; windowManager.dwm.enable = true; windowManager.dwm.package = pkgs.dwm.overrideAttrs { - src = /home/ozpv/.suckless/dwm; + src = fetchGit { + url = "https://github.com/ozpv/dwm.git"; + rev = "179c9d06abc44fae3ce35e47e9865ba243b75298"; + }; }; - layout = "us"; - xkbVariant = ""; + xkb.layout = "us"; + xkb.variant = ""; }; services.picom.enable = true; @@ -68,6 +72,12 @@ shell = pkgs.zsh; }; + home-manager = { + users.ozpv = { + imports = [ ./home.nix ]; + }; + }; + # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -77,13 +87,22 @@ vim neovim (st.overrideAttrs { - src = /home/ozpv/.suckless/st; + src = fetchGit { + url = "https://github.com/ozpv/st.git"; + rev = "a74788fe9617d8b995b61ba9d194a7c12cdd119b"; + }; }) (dmenu.overrideAttrs { - src = /home/ozpv/.suckless/dmenu; + src = fetchGit { + url = "https://github.com/ozpv/dmenu.git"; + rev = "bed00c031b2c004be3742edc88b98d2c047fc673"; + }; }) (slstatus.overrideAttrs { - src = /home/ozpv/.suckless/slstatus; + src = fetchGit { + url = "https://github.com/ozpv/slstatus.git"; + rev = "9e533dcb56f3d34a85b5ba7f279c2870ebcc4034"; + }; }) networkmanager_dmenu sxiv @@ -91,6 +110,7 @@ lf wget git + home-manager ]; # browser @@ -139,4 +159,5 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.11"; # Did you read the comment? + } |
