From cfc03cf56421d4ec2e11e6181f1191e68e4ac497 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 8 Oct 2025 14:19:57 -0500 Subject: [PATCH] idk --- flake.nix | 3 ++- home/modules/zed.nix | 11 +++++++++++ modules/base.nix | 26 ++++++++++++-------------- systems/nixbook/configuration.nix | 2 +- 4 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 home/modules/zed.nix diff --git a/flake.nix b/flake.nix index c89a4cf..4ff4141 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ quickemu, nixos-hardware, emacs, nix-bitcoin #, eww , simple-nixos-mailserver, anipy-cli, darkly, niri, # ags, - stylix, ... }: + stylix, self, ... }: let system = "x86_64-linux"; username = "chris"; @@ -186,5 +186,6 @@ ]; }; }; + packages.${system}.nixbook = self.nixosConfigurations.nixbook.config.system.build.isoImage; }; } diff --git a/home/modules/zed.nix b/home/modules/zed.nix new file mode 100644 index 0000000..f42eb73 --- /dev/null +++ b/home/modules/zed.nix @@ -0,0 +1,11 @@ + +{ config, lib, pkgs, ... }: + +let + laptop = builtins.readFile "/etc/hostname" == "syl\n"; +in +{ + programs.zed-editor = { + enable = true; + }; +} diff --git a/modules/base.nix b/modules/base.nix index 2152397..86d3fdd 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -18,19 +18,19 @@ in { nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; }; - system.autoUpgrade = { - enable = true; - dates = "11:00"; - allowReboot = false; - flake = "${config.users.users.chris.home}/${if laptop then ".dotfiles" else "conf"}"; - flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; - }; + # system.autoUpgrade = { + # enable = true; + # dates = "11:00"; + # allowReboot = false; + # flake = "${config.users.users.chris.home}/${if laptop then ".dotfiles" else "conf"}"; + # flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; + # }; - services.murmur = { - enable = true; - bonjour = true; - openFirewall = true; - }; + # services.murmur = { + # enable = true; + # bonjour = true; + # openFirewall = true; + # }; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; @@ -47,6 +47,4 @@ in { # environment.binsh = "${pkgs.dash}/bin/dash"; environment.homeBinInPath = true; programs.fish.enable = true; - programs.zsh.enable = true; - } diff --git a/systems/nixbook/configuration.nix b/systems/nixbook/configuration.nix index d3797ce..d4506ed 100644 --- a/systems/nixbook/configuration.nix +++ b/systems/nixbook/configuration.nix @@ -196,7 +196,7 @@ }; # Enable touchpad support (enabled default in most desktopManager). - services.xserver.libinput.enable = true; + services.libinput.enable = true; services.xserver.dpi = 144; # Define a user account. Don't forget to set a password with ‘passwd’.