tangled
alpha
login
or
join now
anirudh.fi
/
dotfiles
5
fork
atom
my nix dotfiles
5
fork
atom
overview
issues
pulls
pipelines
nix: update flake, switch to plasma6
anirudh.fi
2 years ago
95da4806
60918b45
+27
-44
6 changed files
expand all
collapse all
unified
split
bin
default.nix
flake.lock
flake.nix
hosts
wyndle
configuration.nix
programs
neovim.nix
ssh.nix
+2
-2
bin/default.nix
···
11
11
git-new-repo = pkgs.writeScriptBin "git-new-repo" ''
12
12
repo="$1"
13
13
[[ "$1" == "" ]] && repo="$(basename "$PWD")"
14
14
-
ssh git@jade git init --bare "$repo"
14
14
+
ssh git@denna git init --bare "$repo"
15
15
read -p "descripton: " desc
16
16
printf '%s' "$desc" > .git/description
17
17
-
rsync .git/description git@jade:"$repo"
17
17
+
rsync .git/description git@denna:"$repo"
18
18
'';
19
19
20
20
# adds a new push-only remote
+13
-13
flake.lock
···
7
7
]
8
8
},
9
9
"locked": {
10
10
-
"lastModified": 1704277720,
11
11
-
"narHash": "sha256-meAKNgmh3goankLGWqqpw73pm9IvXjEENJloF0coskE=",
10
10
+
"lastModified": 1709348262,
11
11
+
"narHash": "sha256-eYTA1uZtYGFKrDOKiAz1wlE6aIC9WSdBNF8bSS818zM=",
12
12
"owner": "lnl7",
13
13
"repo": "nix-darwin",
14
14
-
"rev": "0dd382b70c351f528561f71a0a7df82c9d2be9a4",
14
14
+
"rev": "8a15cb36fffa0b5fbe31ef16ede0a479bef4b365",
15
15
"type": "github"
16
16
},
17
17
"original": {
···
28
28
]
29
29
},
30
30
"locked": {
31
31
-
"lastModified": 1704383912,
32
32
-
"narHash": "sha256-Be7O73qoOj/z+4ZCgizdLlu+5BkVvO2KO299goZ9cW8=",
31
31
+
"lastModified": 1709204054,
32
32
+
"narHash": "sha256-U1idK0JHs1XOfSI1APYuXi4AEADf+B+ZU4Wifc0pBHk=",
33
33
"owner": "nix-community",
34
34
"repo": "home-manager",
35
35
-
"rev": "26b8adb300e50efceb51fff6859a1a6ba1ade4f7",
35
35
+
"rev": "2f3367769a93b226c467551315e9e270c3f78b15",
36
36
"type": "github"
37
37
},
38
38
"original": {
···
43
43
},
44
44
"nixos-hardware": {
45
45
"locked": {
46
46
-
"lastModified": 1704266875,
47
47
-
"narHash": "sha256-luA5SGmeIRZlgLfSLUuR3eacS63q2bJ0Yywqak5lj3E=",
46
46
+
"lastModified": 1709410583,
47
47
+
"narHash": "sha256-esOSUoQ7mblwcsSea0K17McZuwAIjoS6dq/4b83+lvw=",
48
48
"owner": "nixos",
49
49
"repo": "nixos-hardware",
50
50
-
"rev": "8e34f33464d77bea2d5cf7dc1066647b1ad2b324",
50
50
+
"rev": "59e37017b9ed31dee303dbbd4531c594df95cfbc",
51
51
"type": "github"
52
52
},
53
53
"original": {
···
58
58
},
59
59
"nixpkgs": {
60
60
"locked": {
61
61
-
"lastModified": 1704295289,
62
62
-
"narHash": "sha256-9WZDRfpMqCYL6g/HNWVvXF0hxdaAgwgIGeLYiOhmes8=",
61
61
+
"lastModified": 1709237383,
62
62
+
"narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=",
63
63
"owner": "NixOS",
64
64
"repo": "nixpkgs",
65
65
-
"rev": "b0b2c5445c64191fd8d0b31f2b1a34e45a64547d",
65
65
+
"rev": "1536926ef5621b09bba54035ae2bb6d806d72ac8",
66
66
"type": "github"
67
67
},
68
68
"original": {
69
69
"owner": "NixOS",
70
70
-
"ref": "nixos-23.11",
70
70
+
"ref": "nixos-unstable",
71
71
"repo": "nixpkgs",
72
72
"type": "github"
73
73
}
+1
-1
flake.nix
···
2
2
description = "icy's nixos config";
3
3
4
4
inputs = {
5
5
-
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
5
5
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6
6
7
7
nixos-hardware.url = "github:nixos/nixos-hardware";
8
8
+4
-28
hosts/wyndle/configuration.nix
···
8
8
9
9
boot = {
10
10
loader.systemd-boot.enable = true;
11
11
+
loader.systemd-boot.consoleMode = "max";
11
12
loader.efi.canTouchEfiVariables = true;
12
13
kernel.sysctl."net.ipv4.ip_forward" = 1;
13
14
resumeDevice = "/dev/nvme0n1p2";
···
17
18
networking = {
18
19
nameservers = [ "8.8.8.8" "8.8.4.4" ];
19
20
networkmanager.enable = true;
20
20
-
# wireless = {
21
21
-
# enable = true;
22
22
-
# interfaces = [ "wlp6s0" ];
23
23
-
# environmentFile = "/home/icy/secrets/wireless.env";
24
24
-
# networks = {
25
25
-
# Sanic.psk = "@PSK_SANI@";
26
26
-
# Gopalan5G.psk = "@PSK_GOPA@";
27
27
-
# denim.psk = "@PSK_DENI@";
28
28
-
# };
29
29
-
# extraConfig = ''
30
30
-
# ctrl_interface=/run/wpa_supplicant
31
31
-
# ctrl_interface_group=wheel
32
32
-
# '';
33
33
-
# };
34
34
-
# dhcpcd.enable = true;
35
21
hostName = "wyndle";
36
22
useDHCP = false;
37
23
interfaces.wlp6s0.useDHCP = true;
···
87
73
variables = {
88
74
MOZ_USE_XINPUT2 = "1";
89
75
GDK_SCALE = "2";
90
90
-
GDK_DPI_SCALE = "0.5";
76
76
+
GDK_DPI_SCALE = "2";
91
77
};
92
78
systemPackages = with pkgs; [
93
79
man-pages
···
95
81
man-pages-posix
96
82
(lib.hiPrio pkgs.bashInteractive_5)
97
83
];
98
98
-
etc = {
99
99
-
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
100
100
-
bluez_monitor.properties = {
101
101
-
["bluez5.enable-sbc-xq"] = true,
102
102
-
["bluez5.enable-msbc"] = true,
103
103
-
["bluez5.enable-hw-volume"] = true,
104
104
-
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
105
105
-
}
106
106
-
'';
107
107
-
};
108
84
};
109
85
110
86
documentation = {
···
144
120
};
145
121
146
122
services = {
123
123
+
pipewire.wireplumber.enable = true;
147
124
asusd = {
148
125
enable = true;
149
126
enableUserService = true;
···
160
137
xserver = {
161
138
enable = true;
162
139
layout = "us";
163
163
-
desktopManager.plasma5.enable = true;
140
140
+
desktopManager.plasma6.enable = true;
164
141
displayManager.sddm = {
165
142
enable = true;
166
143
enableHidpi = true;
···
216
193
doas.extraRules = [{
217
194
users = [ "icy" ];
218
195
}];
219
219
-
pki.certificateFiles = [ "/home/icy/.local/share/caddy/pki/authorities/local/root.crt" ];
220
196
};
221
197
222
198
powerManagement = {
+2
programs/neovim.nix
···
17
17
gopls
18
18
go
19
19
sumneko-lua-language-server
20
20
+
pyright
20
21
21
22
tree-sitter-grammars.tree-sitter-bash
22
23
tree-sitter-grammars.tree-sitter-yaml
···
27
28
tree-sitter-grammars.tree-sitter-html
28
29
tree-sitter-grammars.tree-sitter-vim
29
30
tree-sitter-grammars.tree-sitter-nix
31
31
+
tree-sitter-grammars.tree-sitter-python
30
32
31
33
zf
32
34
delve
+5
programs/ssh.nix
···
39
39
hostname = "jade";
40
40
identityFile = "~/.ssh/id_rsa";
41
41
};
42
42
+
"lapis2" = {
43
43
+
user = "icy";
44
44
+
hostname = "150.230.131.193";
45
45
+
identityFile = "~/.ssh/id_rsa";
46
46
+
};
42
47
};
43
48
};
44
49
}