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
kime
lite
nautilus
];
environment.pathsToLink = [
@@ -118,7 +119,7 @@
# enable = true;
# enableSSHSupport = true;
# };
# programs.niri.enable = true;
#programs.niri.enable = true;
programs.fish.enable = true;
programs.firefox.enable = true;
@@ -154,6 +155,6 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (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,14 +32,14 @@
nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system niri dankMaterialShell; };
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit niri dankMaterialShell; };
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.bangae1 = import ./hm/home.nix {};
}
# ./sys/desktop.nix
./configuration.nix
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = { inherit niri dankMaterialShell; };
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.bangae1 = import ./hm/home.nix;
}
];
};
};

View File

@@ -82,7 +82,7 @@ gestures {
// Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
output "eDP-1" {
output "Virtual-1" {
// Uncomment this line to disable this output.
// off
@@ -92,10 +92,10 @@ output "eDP-1" {
// for the resolution.
// 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.
mode "2736x1824@60"
mode "1920x1080@60"
// 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:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.

View File

@@ -23,7 +23,7 @@
enableSpawn = true;
};
systemd = {
# enable = true;
enable = true;
restartIfChanged = true;
};
};
@@ -31,7 +31,7 @@
home.username = "bangae1";
home.homeDirectory = "/home/bangae1";
home.stateVersion = "25.05";
home.stateVersion = "25.11";
targets.genericLinux.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 = ''
[Desktop Entry]
Name=niri