toaster: back to niri
This commit is contained in:
parent
7a41763873
commit
f191d9e4a9
6 changed files with 89 additions and 79 deletions
35
flake.lock
generated
35
flake.lock
generated
|
@ -224,6 +224,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs-unstable"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1749999552,
|
||||||
|
"narHash": "sha256-iCUuEq9qXUh8L1c2bRyCayAqfuUEs9nGAUlXv2RcoF8=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "04672588c61aebd18c0d0ada66dd7bb4d8edab0d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
@ -253,11 +273,11 @@
|
||||||
"lix": {
|
"lix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749838547,
|
"lastModified": 1749996528,
|
||||||
"narHash": "sha256-4qJy0n+6P13/XAHPlcjcWK6MDNYd38PkFdI8iCiJYYo=",
|
"narHash": "sha256-60avE6oxLzasJr+/tFdhInEUUEF3FZ9uHofTUq4MZ1o=",
|
||||||
"rev": "1e34c3747779a82d59ef27b351d4ed02fb372a2a",
|
"rev": "7453e2979f1d4684bea4cb340f23c089ea0d5a90",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/1e34c3747779a82d59ef27b351d4ed02fb372a2a.tar.gz?rev=1e34c3747779a82d59ef27b351d4ed02fb372a2a"
|
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/7453e2979f1d4684bea4cb340f23c089ea0d5a90.tar.gz?rev=7453e2979f1d4684bea4cb340f23c089ea0d5a90"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
@ -418,11 +438,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749727998,
|
"lastModified": 1749857119,
|
||||||
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=",
|
"narHash": "sha256-tG5xUn3hFaPpAHYIvr2F88b+ovcIO5k1HqajFy7ZFPM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd",
|
"rev": "5f4f306bea96741f1588ea4f450b2a2e29f42b98",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -513,6 +533,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"authentik-nix": "authentik-nix",
|
"authentik-nix": "authentik-nix",
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
|
"home-manager": "home-manager",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"lix": "lix",
|
"lix": "lix",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -46,6 +46,11 @@
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
tmux-yank = {
|
tmux-yank = {
|
||||||
url = "github:tmux-plugins/tmux-yank";
|
url = "github:tmux-plugins/tmux-yank";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
@ -54,6 +59,7 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
inputs@{
|
||||||
|
home-manager,
|
||||||
lanzaboote,
|
lanzaboote,
|
||||||
lix-module,
|
lix-module,
|
||||||
microvm,
|
microvm,
|
||||||
|
@ -114,6 +120,13 @@
|
||||||
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen3
|
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen3
|
||||||
lix-module.nixosModules.default
|
lix-module.nixosModules.default
|
||||||
|
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.users."0xa" = import ./hosts/toaster/0xa-home.nix;
|
||||||
|
}
|
||||||
|
|
||||||
./hosts/toaster
|
./hosts/toaster
|
||||||
|
|
||||||
./modules/basic-tools
|
./modules/basic-tools
|
||||||
|
@ -122,7 +135,8 @@
|
||||||
./modules/emacs.nix
|
./modules/emacs.nix
|
||||||
./modules/gnupg.nix
|
./modules/gnupg.nix
|
||||||
./modules/mail
|
./modules/mail
|
||||||
./modules/gnome.nix
|
./modules/mail
|
||||||
|
./modules/niri.nix
|
||||||
./modules/radio.nix
|
./modules/radio.nix
|
||||||
./modules/science.nix
|
./modules/science.nix
|
||||||
./modules/tlp.nix
|
./modules/tlp.nix
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
./amd.nix
|
./amd.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./irc.nix
|
./irc.nix
|
||||||
./network
|
./network/full-networkd.nix
|
||||||
./secure-boot.nix
|
./secure-boot.nix
|
||||||
./zfs.nix
|
./zfs.nix
|
||||||
];
|
];
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
home = "/home/0xa";
|
home = "/home/0xa";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./nix-ld.nix
|
./nix-ld.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./fish.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
|
@ -81,7 +80,6 @@
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
};
|
};
|
||||||
users.defaultUserShell = pkgs.zsh; # keep root shell posix compatible
|
|
||||||
|
|
||||||
programs.iftop.enable = true;
|
programs.iftop.enable = true;
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
|
|
|
@ -6,13 +6,12 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
direnv
|
|
||||||
mu
|
mu
|
||||||
];
|
];
|
||||||
|
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
install = true;
|
install = true;
|
||||||
enable = false;
|
enable = true;
|
||||||
package =
|
package =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
(
|
(
|
||||||
|
|
108
modules/niri.nix
108
modules/niri.nix
|
@ -1,74 +1,52 @@
|
||||||
# General Desktop-related config
|
{ pkgs, ... }:
|
||||||
{ pkgs, inputs, ... }:
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
|
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./desktop-software.nix
|
./desktop-software.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
];
|
];
|
||||||
environment.systemPackages =
|
environment.systemPackages = with pkgs; [
|
||||||
let
|
screen-message
|
||||||
xwayland-satellite-git = pkgs.xwayland-satellite.overrideAttrs (
|
qbittorrent
|
||||||
final: _prev: {
|
gajim
|
||||||
version = "git";
|
imv
|
||||||
cargoHash = "sha256-MaF2FyR3HvQAKkZKa8OO/5jbO64/Ncv7+JqHda4jN50=";
|
mpv
|
||||||
src = pkgs.fetchFromGitHub {
|
evince
|
||||||
owner = "Supreeeme";
|
brightnessctl
|
||||||
repo = "xwayland-satellite";
|
pulsemixer
|
||||||
rev = "cca74a5f6b23742d77dc5db4312dfc40fd4a0fcc";
|
cmus
|
||||||
sha256 = "sha256-YZ+axsuNsgIKWfnRkt6Qa9UoKfUOIWf42vNUonXxmxM=";
|
termusic
|
||||||
};
|
gsettings-desktop-schemas
|
||||||
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
|
xdg-utils
|
||||||
inherit (final) pname src version;
|
qt5.qtwayland
|
||||||
hash = final.cargoHash;
|
bashmount
|
||||||
};
|
audacity
|
||||||
}
|
spotify-player
|
||||||
);
|
zathura
|
||||||
in
|
ncdu
|
||||||
with pkgs;
|
adwaita-icon-theme
|
||||||
[
|
bluetui
|
||||||
screen-message
|
gammastep
|
||||||
qbittorrent
|
graphicsmagick
|
||||||
gajim
|
i3status-rust
|
||||||
imv
|
impala
|
||||||
mpv
|
kanshi
|
||||||
evince
|
pamixer
|
||||||
brightnessctl
|
swayidle
|
||||||
pulsemixer
|
swaylock
|
||||||
cmus
|
wl-clipboard
|
||||||
termusic
|
xfce.thunar
|
||||||
gsettings-desktop-schemas
|
banana-cursor
|
||||||
xdg-utils
|
fuzzel
|
||||||
qt5.qtwayland
|
alacritty
|
||||||
bashmount
|
i3bar-river
|
||||||
audacity
|
mako
|
||||||
spotify-player
|
swww
|
||||||
zathura
|
oculante
|
||||||
ncdu
|
xwayland-satellite
|
||||||
adwaita-icon-theme
|
foot
|
||||||
bluetui
|
];
|
||||||
gammastep
|
|
||||||
graphicsmagick
|
|
||||||
i3status-rust
|
|
||||||
impala
|
|
||||||
kanshi
|
|
||||||
pamixer
|
|
||||||
swayidle
|
|
||||||
swaylock
|
|
||||||
wl-clipboard
|
|
||||||
xfce.thunar
|
|
||||||
banana-cursor
|
|
||||||
fuzzel
|
|
||||||
alacritty
|
|
||||||
i3bar-river
|
|
||||||
mako
|
|
||||||
swww
|
|
||||||
oculante
|
|
||||||
xwayland-satellite-git
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
@ -127,7 +105,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greeting \"$(${pkgs.fortune}/bin/fortune -s)\" --cmd ${pkgs.niri-stable}/bin/niri-session";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greeting \"$(${pkgs.fortune}/bin/fortune -s)\" --cmd ${pkgs.niri}/bin/niri-session";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue