adding niri to desktop. some tidying.

This commit is contained in:
2026-02-14 10:35:32 -06:00
parent 7621cd4f14
commit 0fcafe3cb7
2 changed files with 27 additions and 28 deletions

View File

@@ -27,13 +27,22 @@ flake.nixosModules.lily-desktop = { pkgs, ... }:{
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.libinput.enable = true; # services.libinput.enable = true;
programs.firefox.enable = true; programs = {
firefox.enable = true;
niri = {
enable = true;
package = self.packages.${pkgs.stdenv.hostPlatform.system}.niri;
};
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. # List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options). # You can use https://search.nixos.org/ to find more packages (and options).
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
tree tree
noctalia-shell
quickshell
git git
vim vim
wget wget

View File

@@ -1,24 +1,14 @@
{self, inputs, ...}: { {self, inputs, ...}: {
flake.nixosModules.laptopConfig = { pkgs, ... }: { flake.nixosModules.laptopConfig = { pkgs, ... }: {
imports = imports = [ ];
[ # Include the results of the hardware scan.
#./hardware-configuration.nix
# ../../modules/nixos/localization.nix
# ../../modules/nixos/applications.nix
# ../../modules/nixos/fonts.nix
# ../../modules/nixos/programming.nix
];
# Bootloader.
boot.loader = { boot.loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking.hostName = "lily-laptop"; networking.networkmanager.enable = true; networking.hostName = "lily-laptop";
networking.networkmanager.enable = true;
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver.enable = true; services.xserver.enable = true;
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
#services.displayManager.cosmic-greeter.enable = true; #services.displayManager.cosmic-greeter.enable = true;
@@ -45,20 +35,20 @@
}; };
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = [ environment.systemPackages = with pkgs; [
pkgs.vim vim
pkgs.noctalia-shell noctalia-shell
pkgs.quickshell quickshell
pkgs.git git
pkgs.gimp gimp
pkgs.home-manager home-manager
pkgs.bluez bluez
pkgs.kdePackages.plasma-keyboard kdePackages.plasma-keyboard
pkgs.kdePackages.bluedevil kdePackages.bluedevil
pkgs.kdePackages.bluez-qt kdePackages.bluez-qt
pkgs.lf lf
pkgs.fuzzel fuzzel
pkgs.alacritty alacritty
self.packages.${pkgs.stdenv.hostPlatform.system}.nh self.packages.${pkgs.stdenv.hostPlatform.system}.nh
# wget # wget