This commit is contained in:
Jack Mechem 2025-11-30 19:44:42 -08:00
parent 157aa8bba7
commit 040c33bfc1
3 changed files with 27 additions and 12 deletions

View file

@ -1,4 +1,10 @@
{ config, lib, pkgs, inputs, ... }:
{
config,
lib,
pkgs,
inputs,
...
}:
{
imports = [
@ -20,7 +26,10 @@
networking.hostName = "t480";
networking.networkmanager.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
time.timeZone = "America/Los_Angeles";
@ -38,20 +47,22 @@
nixpkgs.config.allowUnfree = true;
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
];
};
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xdg-desktop-portal-gnome
];
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = { "jack" = import ./home.nix; };
users = {
"jack" = import ./home.nix;
};
};
services.libinput.enable = true;
services.openssh.enable = true;
@ -59,4 +70,3 @@
system.stateVersion = "25.05";
}

View file

@ -28,6 +28,7 @@
# exec-once = hyprpanel
exec-once = gtkbar
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=systemctl --user mask xdg-desktop-portal-gnome
#env = XDG_CONFIG_HOME,/home/jack/.config

View file

@ -9,5 +9,9 @@
home.shellAliases = {
nixreb = "sudo nixos-rebuild switch --flake /home/jack/nixos/#t480";
v = "nvim";
c = "clear";
cl = "clear && ls";
nixconf = "nvim ~/nixos/";
a = ''echo -e " a -> List aliases nixreb -> Rebuild nixos config\n nixconf -> Open nixos config\n v -> nvim\n c -> clear\n cl -> clear && ls"'';
};
}