This commit is contained in:
2025-11-24 14:54:18 +09:00
parent ed78a266a5
commit 876e7e8cfe
5 changed files with 18 additions and 17 deletions

View File

@@ -94,6 +94,7 @@
jetbrains-mono jetbrains-mono
kime kime
lite lite
nautilus
]; ];
environment.pathsToLink = [ environment.pathsToLink = [
@@ -154,6 +155,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.11"; # Did you read the comment?
} }

View File

@@ -32,13 +32,13 @@
nixos = nixpkgs.lib.nixosSystem { nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system niri dankMaterialShell; }; specialArgs = { inherit system niri dankMaterialShell; };
modules = [ modules = [
# ./sys/desktop.nix
./configuration.nix ./configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager {
{
home-manager.extraSpecialArgs = { inherit niri dankMaterialShell; }; home-manager.extraSpecialArgs = { inherit niri dankMaterialShell; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.bangae1 = import ./hm/home.nix {}; home-manager.users.bangae1 = import ./hm/home.nix;
} }
]; ];
}; };

View File

@@ -82,7 +82,7 @@ gestures {
// Find more information on the wiki: // Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Outputs // https://yalter.github.io/niri/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"! // Remember to uncomment the node by removing "/-"!
output "eDP-1" { output "Virtual-1" {
// Uncomment this line to disable this output. // Uncomment this line to disable this output.
// off // off
@@ -92,10 +92,10 @@ output "eDP-1" {
// for the resolution. // for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically. // If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "2736x1824@60" mode "1920x1080@60"
// You can use integer or fractional scale, for example use 1.5 for 150% scale. // You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 1.2 scale 1
// Transform allows to rotate the output counter-clockwise, valid values are: // Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270. // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.

View File

@@ -23,7 +23,7 @@
enableSpawn = true; enableSpawn = true;
}; };
systemd = { systemd = {
# enable = true; enable = true;
restartIfChanged = true; restartIfChanged = true;
}; };
}; };
@@ -31,7 +31,7 @@
home.username = "bangae1"; home.username = "bangae1";
home.homeDirectory = "/home/bangae1"; home.homeDirectory = "/home/bangae1";
home.stateVersion = "25.05"; home.stateVersion = "25.11";
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
xdg.enable = true; xdg.enable = true;

View File

@@ -1,6 +1,6 @@
{ pkgs, ...}: { pkgs, niri, ...}:
{ {
environment.systemPackages = [pkgs.niri]; environment.pathsToLink = [ "/wayland-sessions" ];
environment.etc."wayland-sessions/niri.desktop".text = '' environment.etc."wayland-sessions/niri.desktop".text = ''
[Desktop Entry] [Desktop Entry]
Name=niri Name=niri