alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
not working
author
Sean Aye
date
11 months ago
(Jul 7, 2025, 11:17 AM -0400)
commit
e13659f4
e13659f415315851f82d2cd0e2ee3dc6e1e0b0b9
parent
01872d55
01872d552e066728927f3af390772dc0ec1fe5f2
+35
-24
2 changed files
Expand all
Collapse all
Unified
Split
configuration.nix
home.nix
+25
-22
configuration.nix
Reviewed
···
1
1
-
{ config, pkgs, ... }:
1
1
+
{ config, pkgs, inputs, ... }:
2
2
3
3
{
4
4
imports =
5
5
[ # Include the results of the hardware scan.
6
6
./hardware-configuration.nix
7
7
+
inputs.niri-flake.nixosModules.niri
7
8
];
8
9
9
10
nix.settings.experimental-features = [ "nix-command" "flakes" ];
···
14
15
15
16
# Use latest kernel.
16
17
boot.kernelPackages = pkgs.linuxPackages_latest;
18
18
+
19
19
+
services.xserver.videoDrivers = [ "intel" ];
20
20
+
boot.initrd.kernelModules = [ "i915" ];
17
21
18
22
networking.hostName = "nixos"; # Define your hostname.
19
23
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
···
43
47
LC_TIME = "en_US.UTF-8";
44
48
};
45
49
50
50
+
programs.niri.enable = true;
46
51
47
47
-
services.greetd = {
48
48
-
enable = true;
49
49
-
# Example with regreet (graphical)
50
50
-
package = pkgs.greetd.regreet;
51
51
-
# Or tuigreet (console)
52
52
-
# package = pkgs.greetd.tuigreet;
53
53
-
};
52
52
+
services.greetd = {
53
53
+
enable = true;
54
54
+
# Example with regreet (graphical)
55
55
+
package = pkgs.greetd.regreet;
56
56
+
# Or tuigreet (console)
57
57
+
# package = pkgs.greetd.tuigreet;
58
58
+
};
54
59
55
60
xdg.portal = {
56
61
enable = true;
57
57
-
wlr.enable = true;
58
58
-
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
62
62
+
63
63
+
# Specify the backends you want to use.
64
64
+
# The order matters, the first one is the primary.
65
65
+
extraPortals = with pkgs; [
66
66
+
xdg-desktop-portal-wlr
67
67
+
xdg-desktop-portal-gtk
68
68
+
];
69
69
+
# Set the default portal for common interfaces.
70
70
+
# "wlr" is for wlroots-based compositors like niri.
71
71
+
# "gtk" is a fallback for file pickers and other things.
72
72
+
config.common.default = [ "wlr" "gtk" ];
59
73
};
60
60
-
61
61
-
62
62
-
63
74
64
75
# Enable CUPS to print documents.
65
76
services.printing.enable = true;
···
87
98
users.users.sean = {
88
99
isNormalUser = true;
89
100
description = "Sean Aye";
90
90
-
extraGroups = [ "networkmanager" "wheel" ];
101
101
+
extraGroups = [ "networkmanager" "wheel" "video" ];
91
102
shell = pkgs.fish;
92
103
};
93
104
···
121
132
SUDO_EDITOR = "hx";
122
133
};
123
134
124
124
-
125
125
-
# Some programs need SUID wrappers, can be configured further or are
126
126
-
# started in user sessions.
127
127
-
# programs.mtr.enable = true;
128
128
-
# programs.gnupg.agent = {
129
129
-
# enable = true;
130
130
-
# enableSSHSupport = true;
131
131
-
# };
132
135
133
136
# List services that you want to enable:
134
137
nixarr = {
+10
-2
home.nix
Reviewed
···
4
4
{
5
5
# Import the home-manager modules you want to use
6
6
imports = [
7
7
-
inputs.niri-flake.homeModules.niri
8
7
inputs.catppuccin.homeModules.catppuccin
9
8
];
10
9
11
10
# Niri window manager settings, now controlled by the imported module
12
12
-
programs.niri.enable = true;
11
11
+
programs.niri = {
12
12
+
enable = true;
13
13
+
settings = {
14
14
+
outputs = {
15
15
+
"DP-1" = {
16
16
+
scale = 2.0;
17
17
+
};
18
18
+
};
19
19
+
};
20
20
+
};
13
21
14
22
# Catppuccin theme for Waybar
15
23
catppuccin.waybar = {