Aliases
This commit is contained in:
parent
157aa8bba7
commit
040c33bfc1
3 changed files with 27 additions and 12 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -20,7 +26,10 @@
|
||||||
networking.hostName = "t480";
|
networking.hostName = "t480";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
|
|
@ -38,20 +47,22 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
];
|
xdg-desktop-portal-gnome
|
||||||
};
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
users = { "jack" = import ./home.nix; };
|
users = {
|
||||||
|
"jack" = import ./home.nix;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
@ -59,4 +70,3 @@
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
# exec-once = hyprpanel
|
# exec-once = hyprpanel
|
||||||
exec-once = gtkbar
|
exec-once = gtkbar
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
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
|
#env = XDG_CONFIG_HOME,/home/jack/.config
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,9 @@
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
nixreb = "sudo nixos-rebuild switch --flake /home/jack/nixos/#t480";
|
nixreb = "sudo nixos-rebuild switch --flake /home/jack/nixos/#t480";
|
||||||
v = "nvim";
|
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"'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue